S
seal
I have successfully been using Forms Auth and remember me but I just found
that I was not using forms auth signout.
So for my login I was doing this ....
if (HttpContext.Current.User.Identity.IsAuthenticated)
{
FormsIdentity id = HttpContext.Current.User.Identity as FormsIdentity;
}
When I add the forms auth signout, this no longer works with the remember me
cookie. MSDN says, "This removes either durable or session cookies." Am I
understanding this correctly, the forms auth cookie is removed? How then is
one supposed to store variables so that the user does not have to log in
every time? Another cookie.
that I was not using forms auth signout.
So for my login I was doing this ....
if (HttpContext.Current.User.Identity.IsAuthenticated)
{
FormsIdentity id = HttpContext.Current.User.Identity as FormsIdentity;
}
When I add the forms auth signout, this no longer works with the remember me
cookie. MSDN says, "This removes either durable or session cookies." Am I
understanding this correctly, the forms auth cookie is removed? How then is
one supposed to store variables so that the user does not have to log in
every time? Another cookie.