i am using asp.net forms authentication and the asp.net Login control. the login control has a "RememberMe" checkbox.
after the user is authenticated it raises the LoggedIn(object sender, EventArgs e) method and inside this method i am viewing the authentication cookie created by using this
HttpCookie authCookie = FormsAuthentication.GetAuthCookie(userName, true);
when i check the authCookie.Expires value i expect it to be 30 minutes when RememberMe is not checked and 50 years when RememberMe is checked (these are the defaults according to MS documentation)
but whether or not i check RememberMe it's always 30 minutes. i checked my web.config and i don't have anything set for the "timeout" field so i'm not sure why this is happening. any ideas?