View Full Version : Why does my cookie not save?
KidKoala
05-02-2003, 10:51 AM
I've got some code to set a cookie when a page is loaded, and then the code pops up a new window, but the cookie is there to see it only does this once, if i then refresh the original page the popup doesnt show, this is the correct behaviour. However if I then close IE and reopen it, the cookie seems to have no effect and the window pops up again. How do I make this cookie permanent?
KidKoala
QuackHead
05-02-2003, 02:37 PM
Post your code, then we might be able to help you.
I've got some ideas, but I don't wanna spit out information based on a hunch... show the code, we'll see if we can point you in the right direction.
~Quack
KidKoala
05-02-2003, 02:48 PM
It's OK now guys, I just hadn't set the expiration date on the cookie. I've now set it to .expires = DATE + 365 :)
KidKoala
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.