ID: 5091 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Session related Operating System: Red Hat Linux 6.2 PHP Version: 4.0.0 Release New Comment:
I'm having this same problem, however, I'm using php 4.1.2 . Also, I am using RedHat 7.2 or 7.3, with Apache 1.3.23 and postgres 7.2. If I change session.cookie_lifetime to anything other than a zero, the sessions stop working. Previous Comments: ------------------------------------------------------------------------ [2000-07-06 09:16:07] [EMAIL PROTECTED] This has been fixed in PHP 4.0.1. Please upgrade to the latest release. ------------------------------------------------------------------------ [2000-06-16 20:05:56] [EMAIL PROTECTED] I have a very strange problem. If i change the session.cookie_lifetime value on the php.ini file, session variables stop working. if a set the cookies lifetime (session.cookie_lifetime = 0) to 0 (live until the browser is close) everything works ok, but if i set this value to anything else the session variables stop working !!!!. i test the problems with this code <?php session_register("count"); $count++; ?> Hello visitor, you have seen this page <? echo $count; ?> times.<p> To continue, <A HREF="nextpage.php">click here</A> if i use <?=SID?> on the url everything works ok. This is my php.ini [Session]: [Session] session.save_handler = files session.save_path = /tmp session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 100 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_maxlifetime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = ; session.entropy_length = 16 ; session.entropy_file = /dev/urandom session.cache_limiter = nocache session.cache_expire = 180 im using Red Hat Linux 6.2, Apache 1.3.12, MySQL 3.22.32, mod_ssl 2.6.4 and PHP 4.0.0. Apache, MySQL, mod_ssl and PHP are compiled from source. PHP compiled options are : ./configure' '--with-apache=../apache_1.3.12' '--with-mysql=/usr/local/mysql' '--enable-memory-limit=yes' '-enable-debug=no' Any help will be wellcome :=) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=5091&edit=1