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:
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 /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
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


Reply With Quote
