C
C#15mo ago
Krautzer

❔ ASP.NET session timeout early

Although the session timeout period is 40 minutes, sometimes (rarely) the session ends before the 40 minutes are up.For example, I browse between pages. Sometimes my session ends before 40 minutes. I couldn't understand why.
<sessionState mode="InProc" timeout="40"></sessionState>
<sessionState mode="InProc" timeout="40"></sessionState>
And I create the session like this:
Session["UsersDetails"] = usersDetails;
Session["UsersDetails"] = usersDetails;
1 Reply
Accord
Accord15mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?