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

jQuery - using path for jquery cookie plugin

0 votes
added Nov 21 in jQuery by LC Marshal Lieutenant (14,830 points)
var expTime = new Date();
var minutes = 1;
expTime.setTime(expTime.getTime() + (minutes * 60 * 1000));
$.cookie('sto-cookie', 'test', { path: '/', expires: expDate });


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.