Topic awaiting preservation: safe code for cookies |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Charles River |
posted 05-09-2003 18:42
I need a safe javascript code for setting, getting and deleting a cookie. |
Paranoid (IV) Inmate From: Dublin, Ireland |
posted 05-09-2003 18:45
Cookies are pretty old stuff, any code you get should be complient with everything since NS2, could be wrong ... |
Maniac (V) Inmate From: Charles River |
posted 05-09-2003 19:10
The code I have is old, as the cookies, but it doesn't set the cookie in Opera. code: function SetCookie (name, value) |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-09-2003 19:46 |
Maniac (V) Inmate From: Charles River |
posted 05-09-2003 20:02
Wow, I shouldn't have asked! |
Paranoid (IV) Inmate From: Dublin, Ireland |
posted 05-09-2003 20:25 |
Maniac (V) Inmate From: Charles River |
posted 05-09-2003 21:54
It depends on the context. It was perfectly correct but not related to the problem I was trying to solve... |