I am using cookies for a login and to keep track of login data such as what office they are in. All of a sudden this morning with no changes the login page is not keeping track of the cookies. The client is remote and the in-house dev site works fine so I know its not the workstation settings.
IE. I can login to the dev site on my w/s but cannot when I try on the client.
I have tested the code and gotten it to go through the loop, it simply does not save the cookies. Any ideas?
If uRst.eof=False Then
Response.Cookies("uname")=uRst("Username")
Response.Cookies("user_level")=uRst("level")
Response.Cookies("uoffice")=uRst("Office")
Response.Cookies("uadmin")=uRst("admin")
Response.Cookies("login")="t"
If Request.Cookies("uname")="ainquiry" and Request.Cookies("uoffice")="Assessor" Then
Response.Redirect "inquiry/menu.asp"
End If
Response.write "Cookies"
Response.Redirect "menu.asp"
End If
kt
IE. I can login to the dev site on my w/s but cannot when I try on the client.
I have tested the code and gotten it to go through the loop, it simply does not save the cookies. Any ideas?
If uRst.eof=False Then
Response.Cookies("uname")=uRst("Username")
Response.Cookies("user_level")=uRst("level")
Response.Cookies("uoffice")=uRst("Office")
Response.Cookies("uadmin")=uRst("admin")
Response.Cookies("login")="t"
If Request.Cookies("uname")="ainquiry" and Request.Cookies("uoffice")="Assessor" Then
Response.Redirect "inquiry/menu.asp"
End If
Response.write "Cookies"
Response.Redirect "menu.asp"
End If
kt