changed session cookies to presistant cookies
This commit is contained in:
parent
104580ff4e
commit
b0881e8262
|
@ -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())) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user