FormsAuthentication, can I create a custom cookie?
Posted
by Blankman
on Stack Overflow
See other posts from Stack Overflow
or by Blankman
Published on 2010-05-21T18:28:21Z
Indexed on
2010/05/21
18:30 UTC
Read the original article
Hit count: 250
When the browser closes, I want the session to end => logged out.
The FormAuthenticationTicket class doesnt' have a overload that is suitable for me.
I don't want to set the expires property, so when the user closes the browser it logs him out.
But I need: version, Name, UserData
So I guess I have to create my own cookie?
is there a way to create a custom cookie, but still uses forms authentication to encrypt and decrypt things?
© Stack Overflow or respective owner