Re: Losing Session on Postback

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Eagle,

EagleRed@xxxxxxxxxxxxxxxxxxx schrieb:
> In the other path the Session state is lost and I get a new Session object
> after the postback. The page has a grid on it and I am using a List<T> as a

are you modifying the content of your website's root directory? I had that once with an xml file that I modified there, which caused the application to restart. I think the solution was to move the xml file into a subdirectory. That is apparently a new behaviour in ASP.NET 2.0.

Otherwise or if this doesn't help, check the event log, maybe there is something helpful in it.

Roland
.


Quantcast