Forums / Customization from the Admin / Increase 'Admin Session Time Out' ?

Increase 'Admin Session Time Out' ?

Results 1 to 7 of 7
10 Jul 2012, 00:10
#1
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
0

Increase 'Admin Session Time Out' ?

I have checked
http://www.zen-cart.com/wiki/index.php/Admin_-_Configuration_-_My_Store_-_Session_Timeout_Admin_-_Catalog
and /includes/functions/sessions.php

I am not sure if I change one of the variable 900 to 4000 its going to work. its not of crucial importance.

Line #16 : if (!$SESS_LIFE = (SESSION_TIMEOUT_ADMIN + 900)) { 

Line #17 : $SESS_LIFE = (SESSION_TIMEOUT_ADMIN + 900); 


Line #97 : @ini_set('session.gc_maxlifetime', (SESSION_TIMEOUT_ADMIN < 900 ? (SESSION_TIMEOUT_ADMIN + 900) : SESSION_TIMEOUT_ADMIN));
17 Nov 2012, 15:36
#2
trvlfox avatar

trvlfox

Zen Follower

Join Date:
Aug 2007
Posts:
156
Plugin Contributions:
0

Re: Increase 'Admin Session Time Out' ?

did you ever get an answer for this?
17 Nov 2012, 16:09
#3
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Posts:
674
Plugin Contributions:
11

Re: Increase 'Admin Session Time Out' ?

To be in PCI compliance DO NOT change these admin timeout settings.

To increase your login time use:
http://www.zen-cart.com/downloads.php?do=file&id=1526

Works great!
24 Jan 2013, 20:50
#4
pricediscrimination avatar

pricediscrimination

Zen Follower

Join Date:
May 2008
Posts:
401
Plugin Contributions:
0

Re: Increase 'Admin Session Time Out' ?

It should be up to the user to decide whether to be in PCI compliance or not, not zencart . Not all sites using zencart need to be in compliance anyway. There should be a way to modify this in the settings, but since there isn't, which file would need modified?
24 Jan 2013, 21:39
#6
pricediscrimination avatar

pricediscrimination

Zen Follower

Join Date:
May 2008
Posts:
401
Plugin Contributions:
0

Re: Increase 'Admin Session Time Out' ?

Worked! Thanks!
22 Oct 2014, 07:03
#7
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Posts:
921
Plugin Contributions:
0

Re: Increase 'Admin Session Time Out' ?

How do you set the timer in admin? where is the setting? I am using 1.5.3

"INSTALLATION IS SIMPLE: 1. Unzip and upload the files. 2. Make a small addition to one existing file. See the enclosed Instructions.txt file." >> there is no text file!