A
Alan Silver
Hello,
I have a site protected by forms authentication, and when the user logs
in, I do the following...
FormsAuthentication.SetAuthCookie(txtUsername.Text, chkRemember.Checked);
where chkRemember is an <asp:CheckBox> control. If this is checked, then
it should save the user's info in a cookie and log them in automatically
next time.
Trouble is, it doesn't. The user always has to log in each time, even if
they tick the check box. This happens for several people, so it's
nothing to do with an individual user turning off cookies.
Any idea? TIA
I have a site protected by forms authentication, and when the user logs
in, I do the following...
FormsAuthentication.SetAuthCookie(txtUsername.Text, chkRemember.Checked);
where chkRemember is an <asp:CheckBox> control. If this is checked, then
it should save the user's info in a cookie and log them in automatically
next time.
Trouble is, it doesn't. The user always has to log in each time, even if
they tick the check box. This happens for several people, so it's
nothing to do with an individual user turning off cookies.
Any idea? TIA