Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Losing Session on Postback
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Guest, post: 2845785"] I have an application in which I store state in the Session object. There are two paths of execution in the Page_Load method of the default page. In one path the Session state is preserved across postback and it works fine. 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 datasource for the grid that is stored in the Session state and is to be recovered on postbacks. The handler on the postback is to recover objects in the data source that correspond to selections in the grid. When the Session is lost I, obviouslly have problems in the handler. What can cause loss of Session? I am not calling Abandon. Thanks, Eagle [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Losing Session on Postback
Top