SetAuthCookie not working with IE6????

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

Cirene

I try doing this in my code...

FormsAuthentication.SetAuthCookie(Convert.ToString(Request("lexusername") &
""), True)
Response.Redirect("customer/ViewCalendar.aspx") ' only authenticated
users

In IE7 the code runs PERFECT and I can view the ViewCalendar.aspx page.

In IE6 I get kicked back out to the Login.aspx page. The URL is
"login.aspx?ReturnUrl=%2fcustomer%2fViewCalendar.aspx".

Any idea what is going on? Is the auth cookie not persisting? This works
in IE7 ONLY.
 
Back
Top