testing cookie expiration
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 14:10:55 +0000 (09:10 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 14:10:55 +0000 (09:10 -0500)
js/app.js
js/custom/upcp.js

index 4f5b403..72a26f8 100644 (file)
--- 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=/";
     }
index 1b6bcc4..edb5f08 100644 (file)
@@ -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=/";
     }