Author: chobo2 | Posted on: 11/12/2009 1:21:56 PM | Views : 371

Hi
This is what I want when a user comes to login they have a choice to be logged in for 2 weeks or end of session. Now if they don't choose the 2 weeks option and they sit on my site for 30mins with no activity they are logged out. This seems to work just fine.
Now if they choose 2 weeks I want the timeout to be set to 2 weeks. So they could sit there for 2 weeks and do nothing and they would be logged in but they seem to still time out after 30mins.
Here is my code


<authentication mode="Forms"> <forms loginUrl="~/Account/signIn" protection="All" timeout="20160" name="" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="default.as ...

Go to the complete details ...