Changed cookie timeout to 60 minutes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9a833cc37b
commit
5477ac6a92
@ -1701,9 +1701,9 @@ function setDiskPoolCookies(data) {
|
||||
var node = data.msg;
|
||||
var pools = data.rsp[0].split(node + ': ');
|
||||
|
||||
// Set cookie to expire in 5 minutes
|
||||
// Set cookie to expire in 60 minutes
|
||||
var exDate = new Date();
|
||||
exDate.setTime(exDate.getTime() + (5 * 60 * 1000));
|
||||
exDate.setTime(exDate.getTime() + (60 * 60 * 1000));
|
||||
$.cookie(node + 'diskpools', pools, { expires: exDate });
|
||||
}
|
||||
}
|
||||
@ -1720,9 +1720,9 @@ function setNetworkCookies(data) {
|
||||
var node = data.msg;
|
||||
var networks = data.rsp[0].split(node + ': ');
|
||||
|
||||
// Set cookie to expire in 5 minutes
|
||||
// Set cookie to expire in 60 minutes
|
||||
var exDate = new Date();
|
||||
exDate.setTime(exDate.getTime() + (5 * 60 * 1000));
|
||||
exDate.setTime(exDate.getTime() + (60 * 60 * 1000));
|
||||
$.cookie(node + 'networks', networks, { expires: exDate });
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user