If this is your first visit, check our documentation. To post, register or login.
Forums / Customization from the Admin / Increase 'Admin Session Time Out' ?

Increase 'Admin Session Time Out' ?

Started by vandiermen on 10 Jul 2012, 12:10 AM · Views: 6,832

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

vandiermen

Totally Zenned

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

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, 3:36 PM
#2
trvlfox avatar

trvlfox

Zen Follower

Join Date:
Aug 2007
Location:
Fort Worth, Texas, United States
Posts:
156
Plugin Contributions:
0

Re: Increase 'Admin Session Time Out' ?

did you ever get an answer for this?

Vicky
Compass Web Services - Templates for Zen Cart
http://www.compasswebservices.com/

17 Nov 2012, 4:09 PM
#3
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

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, 8:50 PM
#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, 9:39 PM
#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, 7:03 AM
#7
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
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!

Downunder QLD