Hello,
I am making use of session level variables through out the ASP.NET web application and I have session timeout set to 20 minutes. If I leave the browser idle for more than 20 minutes and then come back and do some task in the application and that task require using session variable, i get the error since the session was timedout.
To handle this issue I put Response.Redirect(safepage.aspx) into the Session_OnEnd event in global.aspx.
vb. I tested it and found that when session timed out Session_OnEnd got fired but nothing happened. I mean Response.redirect didnt work.
Is it right to use Response object in Session event? Or is there a some other way to handle this issue.
Thanks,