I have an asp.net application that uses ajax. I want to be able to pass data from one page to another so I store what I want in a session variable and redirect the response to the destination page where i retrieve what i want for further processing. I use:
Response.Redirect(path, false)
Everything works fine until I try to publish to my staging iis7 server. My session variable always returns empty. But if I try to navigate to the page from within the iis server itself (via right click on the page in iis and clicking explore) it works well and the session variable value is retained. It only does it when I am accessing the iis application from my browser. Everything else works well like loadin pages, controls, the redirect. It is only that the session variables result to empty.