Hi All,
Having a 'session expiration' problem.
On my local machine, sessions last longer than on my hosted server, even though (as far as I can see), I have matched the session configuration on both machines.
On my hosted server, the session might only last a couple of minutes, sometimes longer, but locally it lasts much longer.
Hosted env: Linux Apache 1.3.3, PHP 4.3.11
session.auto_start Off
session.bug_compat_42 On
session.bug_compat_warn On
session.cache_expire 180
session.cache_limiter nocache
session.cookie_domain no value
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_file no value
session.entropy_length 0
session.gc_divisor 100
session.gc_maxlifetime 1440
session.gc_probability 1
session.name PHPSESSID
session.referer_check no value
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookies On
session.use_only_cookies Off
session.use_trans_sid On
Local env: WinXP Apache 1.3.3, PHP 4.3.9
** All values same as above except ... ***
session.save_path C:\PHP\sessiondata
Does anyone know if there's something else I should be checking? As I said, the issue is the difference between the sessions in the two environments.
Paul 🙂