URGENT: FormsAuthentication.SetAuthCookie fails in IE6

  • Thread starter Thread starter Cirene
  • Start date Start date
C

Cirene

FormsAuthentication.SetAuthCookie works fine in IE7, but not in IE6. Any
idea why?

Any alternative to FormsAuthentication.SetAuthCookie?

Here's my code:

FormsAuthentication.SetAuthCookie(Convert.ToString(Request("lexusername") &
""), True)

Response.Redirect("customer/ViewCalendar.aspx")

The ViewCalendar.aspx page is only for authenticated users. It keeps
kicking me back to the login page even though the username password is
correct. I know because this gives me TRUE:

Membership.ValidateUser(Convert.ToString(Request("lexusername") & ""),
Convert.ToString(Request("lexpassword") & ""))
 
Sounds like it might be the secuirity settings of the browser; your code
looks fine (at least as much as you have provided).
Peter
 
Back
Top