Using logon control.
I have a 'remember me' check box. The forms Auth cookie (ticket) is created automatically for me via this control. How do I customise the cookie Persistent behaviour of it ???
When its checked I want it to last say 15 days
When its unchecked I want to last say 60 minutes
When I say last, I mean FormsAuthenication staying active via the cookie.
This is my websconfig
<authentication mode="Forms">
<forms loginUrl="~/Logon.aspx"
protection="All"
timeout="60"
name=".ASPXAUTH"
path="/MyFormsAuth"
requireSSL="false"
slidingExpiration="true"
defaultUrl="~/default.aspx"
cookieless="UseDeviceProfile"
enableCrossAppRedirects="false"/>
...
Go to the complete details ...