Session should not expire until user logs out in ASP.Net

Last Reply on Apr 23, 2014 04:04 AM By Gaurav13

Posted on Apr 23, 2014 03:16 AM


how to maintain the session that does't expair  unless and until user logout. 

Posted on Apr 23, 2014 03:21 AM

Session will get expired according to default time which is 30 (min.1440 seconds).  But you can increase the session time out time.


  1. How to increase Session Timeout in ASP.Net Web Application

Posted on Apr 23, 2014 04:04 AM

The timeout attribute cannot be set to a value that is greater than 525,601 minutes (1 year) for the in-process and state-server modes.

By default the mode is InProc for an web application.

    timeout="number of minutes"............