Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var cookieString = "cookie-name=cookie-value; max-age="+ 60 * 60 * 24 +"; path=/;"; //24hrs
- document.cookie = cookieString;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement