ASP.NET Session expires in no time?

Posted by Galilyou on Stack Overflow See other posts from Stack Overflow or by Galilyou
Published on 2009-08-12T12:40:22Z Indexed on 2010/05/27 0:21 UTC
Read the original article Hit count: 542

Weired problem! ASP.NET Session expires instantly. In my web.config I have this session settings:

<sessionState mode="InProc" timeout="10000" />

AFAIK the timeout attribute's value is in minutes and can't be greater than 525,600 minutes (1 year). I don't understand what I am doing wrong here. Why is the session expiring. Is it a server memory issue? I don't think so, the server is pretty descent and it has only one site which isn't doing much after all. Ideas?
EDIT:
After setting the cookiless attribute to true, and while noticing the session id on the url, I can see that the session id CHANGING. I assume that this means the session is expiring. The IIS Settings are correct AFAIK (the enable session state checkbox is checked, and the value of the time is 20). A Picture is worth 100 words:

alt text

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sessionstate