Is there any way to configure Forms authentication that I can make the cookie and ticket persistent with an indefinite expiration while having a non persistent option that doesn't require setting the ticket timeout to be infinite?
Use case, checkbox "keep me logged in"
Checked
User gets persistent non session cookie with a ticket timeout of indefinite
Not checked
User gets session cookie with a ticket with a timeout of a few minutes with a sliding expiration renewal
Is it possible to have both? Or is the trade off of allowing the permanent login the requirement of setting the ticket timeout to be so large that a user with a session cookie will never be logged out until they close their browser?
You have two options: