Member_2_1242703
asked on
Extending the timeout of users logged in via forms authentication in ASP.NET
I'm having trouble with a secure portion of my website logging users out earlier than I would like. I assume the default value is still in place, despite my attemepts to change it. I'm using a pretty basic method of forms authentication to validate users.
I have the following in my web.config:
and
What do I need to do to extend the session for the users once they are logged in?
I have the following in my web.config:
<sessionState mode="InProc" timeout="60"/>
and
<authentication mode="Forms">
<forms name=".ASPXFORMSDEMO" loginUrl="http://www.mysite.com/login.aspx" protection="All" path="/secure" timeout="60" defaultUrl="~/secure/index.aspx" slidingExpiration="true"/>
</authentication>
What do I need to do to extend the session for the users once they are logged in?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That fixed it.