Session sometimes timesout too quick

Posted by kaivalya on Stack Overflow See other posts from Stack Overflow or by kaivalya
Published on 2010-06-14T21:18:05Z Indexed on 2010/06/14 21:22 UTC
Read the original article Hit count: 181

Filed under:
|

I am noticing session timeouts on my asp.net mvc web app randomly without browser being incative for for more than few minutes.

My understanding is the default timeout should be 20mins. But sometimes I get a timeout in couple minutes or even less than that. For example after browsing on the site for a while I might get a session timeout when i refresh a page very soon after I enter the page.

This is very random but I have seen this happen quite a few times now and I am not sure how I can trace this to see why I loose sessions every once in a while whithout browser being inactive long.

I checked my web.config an no timeout value is defined there so I assume it should be 20mins.

Hard to debug as this does not occur regularly..

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET