changed session cookies to presistant cookies

This commit is contained in:
hamza zia 2012-08-25 18:58:17 +08:00
parent 104580ff4e
commit b0881e8262

View File

@ -30,7 +30,7 @@ var server_conf = {
}; };
var set_conf_cookie = function() { 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() { var get_conf_cookie = function() {
if (getCookie('aria2_server_conf'.trim())) { if (getCookie('aria2_server_conf'.trim())) {