From b0881e82622a9085957d7d013639b6b6fcdb1b58 Mon Sep 17 00:00:00 2001 From: hamza zia Date: Sat, 25 Aug 2012 18:58:17 +0800 Subject: [PATCH] changed session cookies to presistant cookies --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 718ce46..192c462 100755 --- a/js/script.js +++ b/js/script.js @@ -30,7 +30,7 @@ var server_conf = { }; var set_conf_cookie = function() { - setCookie('aria2_server_conf', JSON.stringify(server_conf)); + setCookie('aria2_server_conf', JSON.stringify(server_conf), 30 * 12); } var get_conf_cookie = function() { if (getCookie('aria2_server_conf'.trim())) {