Bug #16807 Updated: Sessions not working
| From: | chris at dvdplaza dot com dot au | Date: | Thu, 02 May 2002 00:24:12 +0000 |
| Subject: | Bug #16807 Updated: Sessions not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6682@lists.php.net to get a copy of this message | ||
ID: 16807
Updated by: chris@dvdplaza.com.au
Reported By: martin_jones@bigfoot.com
Status: Open
Bug Type: Session related
Operating System: Windows 2000 SP2
PHP Version: 4.2.0
New Comment:
I'm having a similar issue - every since switching to PHP 4.2 I've got
sh#tloads of viewers reporting login problems to our forums
(vBulletin), they keep getting prompted to login. Weird part is it's
not everyone, I and others have no problems at all. Reverting back to
PHP 4.1.x solves it, upgrading to PHP 4.2 brings it back.
register_globals is ON
Previous Comments:
------------------------------------------------------------------------
[2002-04-30 16:45:24] martin_jones@bigfoot.com
The 'solution' above is not valid for this case.
PHP should not generate the 'headers already sent' message at all in
this case.
------------------------------------------------------------------------
[2002-04-30 14:27:10] martin_jones@bigfoot.com
Can someone please fix this, since it is not a configuration problem.
------------------------------------------------------------------------
[2002-04-30 05:29:02] renato@ostorero.it
Found solution here:
http://bugs.php.net/bug.php?id=16839
Thx
Renato
------------------------------------------------------------------------
[2002-04-30 04:48:41] renato@ostorero.it
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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