jQuery cookie control
Posted
by Happy
on Stack Overflow
See other posts from Stack Overflow
or by Happy
Published on 2010-06-14T21:22:32Z
Indexed on
2010/06/14
21:32 UTC
Read the original article
Hit count: 261
How to create cookie, which will work on all pages over choosen site?
Using cookie plugin.
Code must add cookie "movie_check" with value "no", which can be used over all pages on site "www.site.com" (were script is implemented). Expires after 365 days.
Tryed this (doesnt work):
$.cookie("movie_check", "no", {expires: 365, domain: 'www.site.com'});
Thanks.
© Stack Overflow or respective owner