Hi,
I have this e-commerce site. I have been writing customer IDs to a cookie, so I can help those people to log in easier. However, I have written the cookies on the secure side with secure property set to True. Therefore I can only read them from the secure side (HTTPS). Now I also want to read them from the non-secure side (the domain name is the same). I couldn't do it whatever I try. The last workaround I tried was calling the read_cookie.asp from the secure side via XMLHTTP:
read_cookie.asp
---------------
the_id = request.cookies("the_id"
response.write the_id
show_cookie.asp
---------------
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP"
xml.Open "GET", " False
xml.Send
Response.Write xml.responseText
Set xml = Nothing
--> Works
--> Doesn't work
--> Doesn't work
Are there any other workarounds to read a secure cookie from the non-secure side of the same web site?
Thanks.
I have this e-commerce site. I have been writing customer IDs to a cookie, so I can help those people to log in easier. However, I have written the cookies on the secure side with secure property set to True. Therefore I can only read them from the secure side (HTTPS). Now I also want to read them from the non-secure side (the domain name is the same). I couldn't do it whatever I try. The last workaround I tried was calling the read_cookie.asp from the secure side via XMLHTTP:
read_cookie.asp
---------------
the_id = request.cookies("the_id"
response.write the_id
show_cookie.asp
---------------
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP"
xml.Open "GET", " False
xml.Send
Response.Write xml.responseText
Set xml = Nothing
--> Works
--> Doesn't work
--> Doesn't work
Are there any other workarounds to read a secure cookie from the non-secure side of the same web site?
Thanks.