Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

$cookie - set cookie for entire site or page-only

0 votes
7 views
added Feb 14 in jQuery by lcjr Sergeant (2,320 points)
// for entire site, use path
$.cookie('app-banner', 'showed', { path: '/', expires: expAppBanner });

// for page-only;
$.cookie('app-banner', 'showed', { expires: expAppBanner });

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...