C
C#8mo 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
Accord8mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.