Reputation: 10364
We have developed an ASP.Net Web Application. In its web.config file, we have set the session timeout period is 60 as below:
<sessionState mode="InProc" timeout="60"/>
But still, the session expired within 15 minutess. I don't want to expire the session up to 1 hour. How to extend the session timeout period up to 1 hour? I need all your suggestions.
Upvotes: 3
Views: 10728
Reputation: 2158
The application pool’s worker process default idle timeout is also set to 20 minutes
The default mode of storing session state is in the IIS process
So you should try to change the application pool,s worker process default time out
Here is the link.
Upvotes: 4
Reputation: 8838
You need to increase IIS session state timeout. This might be set to override <sessionState>
.
Read the following - Configure Session Time-out (IIS 7)
Upvotes: 0
Reputation: 6938
just increase time in Timeout and this time is in minutes so convert the hours into minutes and set it as follow in web.config.
<sessionState mode="InProc" timeout="60"/>
You can follow the below link http://forums.asp.net/t/1452762.aspx
read this above link i hope this will work for you...
Upvotes: -1