Bug #16807 Updated: Sessions not working

From: Date: Tue, 30 Apr 2002 08:48:41 +0000
Subject: Bug #16807 Updated: Sessions not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6541@lists.php.net to get a copy of this message
ID: 16807 Updated by: renato@ostorero.it Reported By: martin_jones@bigfoot.com Status: Feedback Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 04:00:49] martin_jones@bigfoot.com My ini file is the php.ini-recommended The session stuff is: session.save_handler = files session.save_path = c:\winnt\temp (tried c:/winnt/temp too) session.use.cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session_cookie_domain = session.serialize_handler = php session_gc_probability = 1 session.gc_maxfiletime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 output_buffering = 4096 output_handler = zlib.output_compression = Off auto_prepend_file = auto_append_file = I hope this is enough info. As I say, it is the recommended ini file with a few minor changes. ------------------------------------------------------------------------ [2002-04-25 03:39:36] mfischer@php.net And you do not have any auto_prepend stuff in your ini file, anything which might do output before your script gets actually executed (also no whitespaces) ? ------------------------------------------------------------------------ [2002-04-25 03:27:27] yohgaki@php.net And output bufferring setting? (zlib.output_compression and output_buffer) ------------------------------------------------------------------------ [2002-04-25 03:26:11] yohgaki@php.net Ok. You really have 3 line script that causes this error message. What is your session ini setting? ------------------------------------------------------------------------ [2002-04-25 02:04:13] martin_jones@bigfoot.com I wasn't aware that this was a support question. The session_start function used to work fine. Now I get the warnings as stated above. I have looked at the support and the only things I could see was about not putting anything before the session_start. In this case, I have tried the following: <?php session_start(); ?> and I still get the warnings. These three lines are the only things in the script. There is no HTML above it. Since this used to work, I disagree that it is a bogus issue and feel that it should still be a bug. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16807 -- Edit this bug report at http://bugs.php.net/?id=16807&edit=1

« previous php.bugs (#6541) next »