Help with cookies
Posted on 2004-03-22
To add the cookie after a user has logged in:
Response.Cookies("auth") = "yes"
Response.Cookies("auth").Expires = Date + 365
Then to read the cookie if they visit this login.asp page again:
If (Request.Cookies("auth") = "yes") Then
the MM_redirectLoginSuccess variable is the page that is displayed after you successfuly login and I want to automatically send the user there if they have this cookie (auth) with a value of yes.
If you need to see more code just ask!