I recently upgraded from Vista running VS2008 to Windows 7 running 2010.
Previously, my code ran fine both:
- debugging from within VS2008
- running as localhost on local IIS
Now, my code still runs fine on localhost via my PC's local IIS, but when I try to
debug from within VS2010 the Session Variables are lost within a couple of clicks.
The first page is a login screen, so I tried using Response.Redirect("~/home.aspx", false)
to preserve the session state but to no avail.
I have also tried removing all underscores from session variable names with no luck.
I believe the site is running in InProc mode based upon my observations within IIS,
though this is not explicitly set within the web.config
I can only assume that VS2010 somehow runs in its own application pool or environment
that needs a setting changed but have no idea what to try next.
Any help GREATLY appreciated!
View Complete Post