ID:               25876
 Comment by:       webmaster at mindrabbit dot com
 Reported By:      golden at riscom dot com
 Status:           No Feedback
 Bug Type:         Session related
 Operating System: freebsd 4.8
 PHP Version:      4.3.9-4.3.10
 New Comment:

This bug is easy to repeat in following way:

1) Set session_save_handler to user based like DB
2) Start page like normal, start session etc
3) CHANGE your session_id BEFORE you print anything to your screen
3.1) Destroy the old session_id
3.2) set new session id with session_id('your_id')
3.3) Try start_session() which will produce error message

Problem is that system can not init custom session_save_handler in some
odd reason. When changing session_handler to local files, anything goes
normal. But with custom save handler like memcache or DB backend, code
will fail.

When you refresh page, problem disappears.

I have tested this with Apache 2.2.8, PHP 5.2.5 and MySQL 5.1.23RC and
with newest memcache.


--JT--


Previous Comments:
------------------------------------------------------------------------

[2008-02-16 11:11:07] notrevevirtual at gmail dot com

System: FreeBSD 6.2-RELEASE
PHP Version 5.2.5
Apache Version  Apache/2.0.63 (Unix)

This problem started after an server update (php+mysql+apache).
None of the solutions found here can fix it.

------------------------------------------------------------------------

[2007-09-13 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2007-09-05 13:51:04] [EMAIL PROTECTED]

Can your reproduce this with PHP 5.2.4 or greater? (in case we happen
to release 5.2.5 in the meantime :)

------------------------------------------------------------------------

[2007-08-30 07:54:07] golden at riscom dot com

> We are currently having problem with the same think at one of our
servers.

------------------------------------------------------------------------

[2007-06-27 23:15:12] josh at spinningplanet dot co dot nz

Try disabling safe mode

------------------------------------------------------------------------

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/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1

Reply via email to