Darren O'Meara
|
Posted: 02/24/2004, 2:44 PM |
|
I am using the standard Login form that Codecharge Studio produces and added
the code below against the dologin (onclick server) to create a cookie. The
cookie is written to cookies folder but when I close the browser and log
back into the page the cookie is not being picked up. Does anyone have any
expertise in this and or has resolved this one.
If Login.RememberMe.Value Then
Response.Cookies("login").Expires = "01/01/2030"
Response.Cookies("pass").Expires = "01/01/2030"
' Save login info in cookies
Response.Cookies("login") = Login.login.Value
Response.Cookies("pass") = Login.password.Value
Else
Response.Cookies("login") = ""
Response.Cookies("pass") = ""
End If
|
|
|
lneisius
Posts: 29
|
Posted: 02/25/2004, 4:11 AM |
|
In the before show event of the page create a retrieve value for control and select cookie for value.
|
|
|
|