I've set my session tag in web.config as:
<sessionState mode="InProc" cookieless="false" timeout='2'/
But when I leave the browser idle for more than 2 minutes, it still does not time out. It still times out only after 20 minutes. I tried to print out the timeout using
Response.Write(Session.Timeout.ToString())
and that printed 2 so it does read the setting from the config file. Am I missing something?
thanks
amitI am not sure if this will work. Did you try restarting IIS?
It works now after I restarted IIS, thanks!
0 comments:
Post a Comment