Hi,
I am working on a Web application which has session Timeout set in the file Global.asax as below:
Private Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
Session.Timeout = 30
End Sub
When I change the timeout and test on my local machine, it works perfectly to the minute (Lower or higher value).
Now we deploy on server (IIS / Windows Server 2008 R2 Standard) and the timeout does not work. It gets capped at 20 min. I can reduce the timeout, but cannot increase it more than 20 min. Something else is interfering with the timeout. I am not sure what it might be on the server.
Any ideas what can be causing that?
1. On the server, go into IIS Manager
2. Select the website with the issue
3. In the Feature area, under ASP.NET, double click Session State
4. In the Coolie Settings, update the Time-out (in minutes) setting to reflect your desired timeout.
You may need to stop/start the site for the configuration to get picked up.
Dan