Search code examples
cookiesforms-authentication

FormsAuthentication.SetAuthCookie


hi we are using FormsAuthentication.SetAuthCookie(profile.Id, false);

Now the question is when does this cookie expires?

It of course expires once I close all the browsers but it doesn't I keep the browser open and I don't know the timelimit.


Solution

  • It will depend on the Timeout property in web.config.