RE: [PHP] Session not expiring
It looks like you're doing it correctly. Use phpinfo() to verify the php.ini file being used. Maybe the system's using one other than what you updated. -Original Message- From: Peter Atkins [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: [PHP] Session not expiring All, My session is not expiring and I believe that I set this correctly. I'm looking for a 15 minute expiration time. My current setting: session.cookie_lifetime = 900 ; lifetime in seconds of cookie ; or if 0, until browser is restarted Is this the correct why to achieve this? If so what else can it be? Thanks, -p -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Session not expiring
phpinfo reports session.cookie_lifetime as 900 (15 minutes), but sessions don't expire in 15 minutes. How are you running sessions? How are you setting cookies? How are you testing to see whether the session has expired? -Original Message- From: Peter Atkins [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 11:17 AM To: 'Lazor, Ed' Subject: RE: [PHP] Session not expiring This is what I get: Directive Local Value Master Value session.auto_start Off Off session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 900 900 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On session.use_trans_sid 1 1 This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php