arthurh88
asked on
ASP.NET how to extend session time?
user logs in. inside their control panel, they write up a bio. when they click "Submit", they are bounced back to the login screen because they are no longer "logged in"
I'm using this code at the top of the control panel pages:
If Session("Auth") = False Then
Response.Redirect("login-p age.aspx")
End If
Name = Session("Name")
UserID = Session("UserID")
Auth = Session("Auth")
So, what happens is, they are taking too long writing up their bio and are bouncing out. How do I extend the session to 30 minutes, or even an hour?
I'm using this code at the top of the control panel pages:
If Session("Auth") = False Then
Response.Redirect("login-p
End If
Name = Session("Name")
UserID = Session("UserID")
Auth = Session("Auth")
So, what happens is, they are taking too long writing up their bio and are bouncing out. How do I extend the session to 30 minutes, or even an hour?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<system.web>
<sessionState timeout="1800"/>
Otherwise you can go into IIS Manager configure it there as well.