Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 19, 2013 12:04 PM by Ruchira
Jan 17, 2013 03:48 PM|LINK
My default timeout is set to 20min. I have this code below in my global.asax.
void Session_OnEnd(object sender, EventArgs e)
Not sure if this is a good test, but I executed this project in vs2010 on my workstation. I then fast forward my clock to an hour later. When I try to navigate, I then get the error: "HttpException was unhandled by user code: response is not available in
this context". Is this a good test? If so, why am I getting this error. I have googled many methods on how to do this but none have worked.
Jan 19, 2013 12:04 PM|LINK
My default timeout is set to 20min.
I then fast forward my clock to an hour later.
Then your session is already ended so any requests after that would be invalid.
I have googled many methods on how to do this but none have worked.
If you need to check the Session_OnEnd event, you can set the clock to about 15 minutes ahead and wait for 5 minutes to get it fired.
Please 'Mark as Answer' if this post helps you.