Expand|Select|Wrap|Line Numbers
- 'If the user requested to be remembered...
- If memory = 1 Then
- Response.Cookies("Username") = rsLogin.Fields.Item("Username").Value
- Response.Cookies("Username").Expires= Date() + 7
- Session.Contents.Remove("Username")
- Else
- 'If the user did not request to be remembered...
- Session("Username") = rsLogin.Fields.Item("Username").Value
- Response.Cookies("Username") = ""
- End If
Expand|Select|Wrap|Line Numbers
- Response.Write("cookie -> " & Request.Cookies("Username") & "<br><br>")
- Response.Write("<a href=""test.asp"">test.asp</a>")
cookie -> jimjazz
test.asp
Next, I click on the "test.asp" link. On the test.asp page, I run the same test code..
Expand|Select|Wrap|Line Numbers
- Response.Write("cookie -> " & Request.Cookies("Username") & "<br><br>")
cookie ->
What gives?
(these are results for IE8, everything seems to work fine in FF3.5, but 98% of all my users are IE)