From: Anthony Talarico Date: Wed, 13 Jan 2016 14:10:55 +0000 (-0500) Subject: testing cookie expiration X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=140346c2c20dc63102e5ad0d0c1cf4dbe05a234e;p=WP-Themes%2Fmichsci.git testing cookie expiration --- diff --git a/js/app.js b/js/app.js index 4f5b403..72a26f8 100644 --- a/js/app.js +++ b/js/app.js @@ -24,7 +24,7 @@ $(document).ready(function () { function createCookie(name, value) { var date = new Date(); - date.setTime(date.getTime()+(3*1000)); + date.setTime(date.getTime()+(5*1000)); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 1b6bcc4..edb5f08 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -4,7 +4,7 @@ $(document).ready(function () { function createCookie(name, value) { var date = new Date(); - date.setTime(date.getTime()+(3*1000)); + date.setTime(date.getTime()+(5*1000)); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; }