Results 1 to 8 of 8

Threaded View

  1. #4
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: User session timeout

    Also, I ran admin/server_info.php, and the session settings it's showing there are different than the output from a script running phpinfo() in my zencart catalog (running PHP via an ezpage hack). In the admin, my sessions last indefinitely, as long as my browser session. That's how I want it to work. So I just need to make the rest of zc like the admin.
    Is there any particular setting that stands out? The local values of session.gc_maxlifetime is already acceptably high for both.



    Here they are, both PHP 5.3, domain name redacted:

    from zc admin:

    Code:
    Directive	Local Value	Master Value
    session.auto_start	Off	Off
    session.bug_compat_42	On	On
    session.bug_compat_warn	On	On
    session.cache_expire	180	180
    session.cache_limiter	nocache	nocache
    session.cookie_domain	.www.mydomain.com	no value
    session.cookie_httponly	On	Off
    session.cookie_lifetime	0	0
    session.cookie_path	/sysop	/
    session.cookie_secure	Off	Off
    session.entropy_file	no value	no value
    session.entropy_length	0	0
    session.gc_divisor	2	100
    session.gc_maxlifetime	99999	1440
    session.gc_probability	1	1
    session.hash_bits_per_character	4	4
    session.hash_function	0	0
    session.name	zenAdminID	PHPSESSID
    session.referer_check	no value	no value
    session.save_handler	user	files
    session.save_path	/home/mystore/public_html/cache	/tmp
    session.serialize_handler	php	php
    session.use_cookies	On	On
    session.use_only_cookies	On	On
    session.use_trans_sid	0	0
    and from zc catalog:

    Code:
    Directive	Local Value	Master Value
    session.auto_start	Off	Off
    session.bug_compat_42	On	On
    session.bug_compat_warn	On	On
    session.cache_expire	180	180
    session.cache_limiter	nocache	nocache
    session.cookie_domain	.www.mydomain.com	no value
    session.cookie_httponly	On	Off
    session.cookie_lifetime	0	0
    session.cookie_path	/	/
    session.cookie_secure	Off	Off
    session.entropy_file	no value	no value
    session.entropy_length	0	0
    session.gc_divisor	2	100
    session.gc_maxlifetime	172300	1440
    session.gc_probability	1	1
    session.hash_bits_per_character	4	4
    session.hash_function	0	0
    session.name	zenid	PHPSESSID
    session.referer_check	no value	no value
    session.save_handler	user	files
    session.save_path	/home/mystore/public_html/cache	/tmp
    session.serialize_handler	php	php
    session.use_cookies	On	On
    session.use_only_cookies	On	On
    session.use_trans_sid	0	0
    Last edited by fakeDecoy; 5 Dec 2015 at 08:17 PM.

 

 

Similar Threads

  1. Session Timeout
    By Maximis86 in forum General Questions
    Replies: 1
    Last Post: 24 Feb 2011, 06:33 AM
  2. user session timeout
    By ladyhypnotist in forum General Questions
    Replies: 0
    Last Post: 28 Oct 2008, 10:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg