Last post Jan 13, 2011 04:52 AM by sirdneo
Jan 10, 2011 02:30 AMemail@example.com|LINK
<sessionState mode="InProc" timeout="300"></sessionState>
is my session related tag in web.config file but most of the time if i idle 20 minutes then its automatically timedout and went to my login page, is there any solution ?
Jan 10, 2011 04:05 AM|stanly|LINK
Jan 10, 2011 04:40 AM|sovitmittal|LINK
Try this, hopefully this will solve your issue.
Also,Please refer the below link
Jan 10, 2011 06:17 AM|jitendra_faye|LINK
actually u have to set session time out in IIS setting.
for that u have to open ur site setting in IIS
and there u have to use edit cofiguration option then after u have to use session mangement option to set session time out.
Jan 10, 2011 06:23 AM|farukinfo|LINK
Hi, The following could be the problem, you may try it.
Go to IIS application pool---> right click the application pool that is assigned to your website ----> select Properties----> Go to the
performance tab of the properties window--->now look if "shutdown worker process afer being Idle of is assigned 20 min" checked then either change the value to 30 min or unchecke it ----> click ok---> and restart the IIS.
Please mark as Answer if it helps.
Jan 13, 2011 04:52 AM|sirdneo|LINK
There are different options to set session time out in your application. For Details see:-
How to set Session Timeout in ASP.Net
If you set timeout as mentioned in above article and still you are loosing session before time or loosing session randomly then it might be because of server restarts. For details see:-
Why .Net sessions are terminated/loss unexpectedly