Link to home
Start Free TrialLog in
Avatar of Member_2_1242703
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:

<sessionState mode="InProc" timeout="60"/>

Open in new window


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>

Open in new window


What do I need to do to extend the session for the users once they are logged in?
ASKER CERTIFIED SOLUTION
Avatar of Athar Syed
Athar Syed
Flag of Kuwait image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_1242703
Member_2_1242703

ASKER

Thanks. I had tried that without the cookieless="UseCookies"
That fixed it.