Mehul Jariwala
Mehul Jariwala

Reputation: 966

How to increase Session Timeout in Asp.net C#

<system.web>
    <sessionState timeout="20" mode="InProc"/>
  </system.web>

Is there anything else I need to do?

Upvotes: 0

Views: 2318

Answers (1)

Rahul
Rahul

Reputation: 77936

That should be alright but do also check if you are overriding that value in your code behind somewhere by saying below. Probably in the Global.asax file under Session_Start()

Session.Timeout = "40";

Upvotes: 4

Related Questions