12-25-2005, 08:23 PM
Ok, so I have my cookie script, and it can set and retrieve cookies just fine. But if I close my browser and reopen the page, the cookie returns null. To be sure it wasn't a coding mistake that I made, I went to a website where they also had a cookie example. The same thing happened. Can any one post some code that could solve this wierd problem? (I tested on both IE and firefox just to make sure).
12-25-2005, 08:36 PM
Did you set an expiry date? Without an expiry date the cookie will be automatically deleted when the browser is closed.
12-25-2005, 08:53 PM
On this page they show their code, along with links at the very bottom that set the cookie and get the cookie. I still have the same problem of it returning null. I do have cookies enabled, if there are any other cookie options I can set in IE or firefox tell me please, but I don't understand.