Zen Cart Logo
Forums / General Questions / PA-DSS Admin Session Timeout Enforced?

PA-DSS Admin Session Timeout Enforced?

Views: 1,710

Results 1 to 9 of 9
2 Apr 2015, 7:05 PM
#1
timps avatar

timps

New Zenner

Join Date:
Apr 2005
Posts:
54
Plugin Contributions:
0

PA-DSS Admin Session Timeout Enforced?

Changing this setting has no effect.

Fresh virgin install of 154 on local test server. No plugins or mods of any kind.

I just looked up the following server info and compared with the requirements. Safe to assume that maybe this is the problem? :lookaroun
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
Mysql 5.0.8

6 Apr 2015, 10:25 PM
#2
timps avatar

timps

New Zenner

Join Date:
Apr 2005
Posts:
54
Plugin Contributions:
0

Re: PA-DSS Admin Session Timeout Enforced?

I just set up a new wampserver 2.5 on a different pc with php 5.5.12, apache 2.4.9 and mysql 5.6.17. There are zero mods to this installation. I'm still unable to turn off the admin timeout. I'll try downloading zencart again and reinstalling fresh. Would appreciate some ideas though.

6 Apr 2015, 10:52 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: PA-DSS Admin Session Timeout Enforced?

Same result here with a 1.5.4 vanilla installation on a remote server.

7 Apr 2015, 12:06 PM
#4
timps avatar

timps

New Zenner

Join Date:
Apr 2005
Posts:
54
Plugin Contributions:
0

Re: PA-DSS Admin Session Timeout Enforced?

stevesh:

Same result here with a 1.5.4 vanilla installation on a remote server.

Curious if you're remote is windows or 'nix?

Since it's not just me maybe it's a bug. I'll have to look up how to submit a bug report. The timeout and password change are a real PIA for a development server.

After my last post, I downloaded again and installed on the new wamp server and a new database. I tested by immediately opening admin > configuration > set admin session timeout to 0 (Non-Compliant) > set timeout seconds to 30. Absolutely no other changes have been made. Result is that it's still logging me out.

7 Apr 2015, 12:25 PM
#5
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: PA-DSS Admin Session Timeout Enforced?

timps:

Curious if you're remote is windows or 'nix?

Since it's not just me maybe it's a bug. I'll have to look up how to submit a bug report. The timeout and password change are a real PIA for a development server.

After my last post, I downloaded again and installed on the new wamp server and a new database. I tested by immediately opening admin > configuration > set admin session timeout to 0 (Non-Compliant) > set timeout seconds to 30. Absolutely no other changes have been made. Result is that it's still logging me out.
I think there is no bug, just some confusion. If you set the "set admin session timeout" to 0, Zen Cart will still log you out when the time set in seconds has passed, but you are allowed to enter a value higher then 900 seconds.
It is like versions pre 1.5.x there you also got logged out, but back then the standard time was if I remember correctly 3600 seconds.

7 Apr 2015, 1:03 PM
#6
timps avatar

timps

New Zenner

Join Date:
Apr 2005
Posts:
54
Plugin Contributions:
0

Re: PA-DSS Admin Session Timeout Enforced?

Hmm...didn't think of that. I'll give it a try. If that's it I'm gonna feel kinda stupid, but I haven't seen any language anywhere to indicate this is the way it works. Just submitted a bug report though so I expect to find out one way or another.

Thanks for the response.

7 Apr 2015, 1:16 PM
#7
timps avatar

timps

New Zenner

Join Date:
Apr 2005
Posts:
54
Plugin Contributions:
0

Re: PA-DSS Admin Session Timeout Enforced?

The only explanation I've been able to find on this subject is here:
http://www.zen-cart.com/showthread.php?216298-PCI-PA-DSS-Certification-Approved-for-Zen-Cart-v1-5-4

In that post Dr Byte says the following:
"What if I Don't Need PCI Compliance?"
"For those of you using Zen Cart in a situation where you're not accepting payments with it (such as a showroom/showcase, or simply a CMS), you can turn off the extra PA-DSS stricter settings such as password expiration and password-format rules, etc, using two settings available under Admin->Configuration->My Store...".

I don't see anything to indicate that it is not simply an on/off switch. There is no mention of altering the timeout seconds.

7 Apr 2015, 1:47 PM
#8
timps avatar

timps

New Zenner

Join Date:
Apr 2005
Posts:
54
Plugin Contributions:
0

Re: PA-DSS Admin Session Timeout Enforced?

After a bit of testing, the suggestion by Design75 appears to be the solution. Sheesh.

7 Apr 2015, 3:21 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PA-DSS Admin Session Timeout Enforced?

A yet further solution though it goes against the standard/expected operation (intended to ensure continued compliance with PA-DSS requirements) is to open a second window accessing the who's online window and appending ?t=300 (or some number just less than the timeout that is set) this will refresh the window and keep the session alive provided no errors occur in trying to refresh.