BikerBri4u
10-30-2003, 12:08 PM
I have been researching this question for hours without an answer, any help would be so much appreciated.
I use a simple COOKIE writing routine in my ASP pages... like so.
Response.Cookies("cookie_test")("active") = "TRUE"
Response.Cookies("cookie_test").Expires = Date + 1
I have 2 SETS of cookies.. one for the CUSTOMER info and one for the cookie_test info. The CUSTOMER info set looks like this...
Response.Cookies("customer")("FirstName") = "Bob"
Response.Cookies("cookie_test").Expires = Date + 1
I then read this cookie_test from another ASP page. No problems here.
But I have some HTML pages that need to write the same cookie and I need to use Javascript to do this. But I can not find where Javascript will let me use separate SETS of cookies like ASP does. It just lets me write ONE SET of cookies with different values in each.
Any help on how I translate THIS into Javascript
Response.Cookies("cookie_test")("active") = "TRUE"
Response.Cookies("cookie_test").Expires = Date + 1
I have looked at many many Javascript sites and can't find this info anywhere.
Thanks in advance...
I use a simple COOKIE writing routine in my ASP pages... like so.
Response.Cookies("cookie_test")("active") = "TRUE"
Response.Cookies("cookie_test").Expires = Date + 1
I have 2 SETS of cookies.. one for the CUSTOMER info and one for the cookie_test info. The CUSTOMER info set looks like this...
Response.Cookies("customer")("FirstName") = "Bob"
Response.Cookies("cookie_test").Expires = Date + 1
I then read this cookie_test from another ASP page. No problems here.
But I have some HTML pages that need to write the same cookie and I need to use Javascript to do this. But I can not find where Javascript will let me use separate SETS of cookies like ASP does. It just lets me write ONE SET of cookies with different values in each.
Any help on how I translate THIS into Javascript
Response.Cookies("cookie_test")("active") = "TRUE"
Response.Cookies("cookie_test").Expires = Date + 1
I have looked at many many Javascript sites and can't find this info anywhere.
Thanks in advance...