Session Expires before Timeout

  • Thread starter Thread starter chamaratharanga
  • Start date Start date
C

chamaratharanga

I have set the session timeout as 120 mins in the Global.asax. However
my session expires within about 5-10 mins at different pages. I used
"InProc" as the session state mode. Any help is appreciated.
 
Hello,

Sorry i don't know the answer.. but can u let me know how can we set the
session timeout option in global.asax file.

The one option i knew was to set the sesstion timeout in web.config file.

Regards,
Niraj Ranka
 
Sorry i don't know the answer.. but can u let me know how can we set the
session timeout option in global.asax file.

protected void Session_Start(Object sender, EventArgs e)
{
Session.Timeout = 20;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top