Hi everyone- Hopefully this'll be an easy one for someone: I'm working on an intranet app where we need the sessions to stay open longer than 20 minutes. I've set (I thought) the timeout in the Global.asax file:
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session is started
Session.Timeout = 480 ' Session will last 480 mins (8 hours)
End Sub
I've also set (again, at least I thought so) the timeout in the web.config file:
However, our users still report that the
pages die after sitting for just over 20 minutes (I can tell by the errors they are getting - they are all tied to lines of code that use a session variables - exiting the browser(s) and opening again will fix the issue). Any ideas how I can change the session
timeout length? IIS 5, Basic Authentication, .NET 1.0, IE 6
pillbug22
Member
145 Points
29 Posts
Can't change session timeout length...
Aug 25, 2003 03:45 PM|LINK
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session is started Session.Timeout = 480 ' Session will last 480 mins (8 hours) End SubI've also set (again, at least I thought so) the timeout in the web.config file: However, our users still report that the pages die after sitting for just over 20 minutes (I can tell by the errors they are getting - they are all tied to lines of code that use a session variables - exiting the browser(s) and opening again will fix the issue). Any ideas how I can change the session timeout length? IIS 5, Basic Authentication, .NET 1.0, IE 6Priya Sriniv...
Member
175 Points
35 Posts
Re: Can't change session timeout length...
Aug 25, 2003 05:17 PM|LINK