From 5477ac6a9291fde8d50c6b0e876266ff236313e4 Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 9 Dec 2010 19:27:05 +0000 Subject: [PATCH] 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 --- xCAT-UI/js/custom/zvmUtils.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index e3b1fef24..90bc9aad9 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -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 }); } }