php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44185 Unable to start a session twice with custom session handler.
Submitted: 2008-02-20 14:10 UTC Modified: 2008-03-08 11:00 UTC
From: kukulich at kukulich dot net Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.5 OS: Windows XP, Linux
Private report: No CVE-ID: None
 [2008-02-20 14:10 UTC] kukulich at kukulich dot net
Description:
------------
Unable to start a session on a second time when using custom session handler. Tested with the same results on PHP 5.1, 5.2, 5.2 CVS versions, both Windows AND Linux

Reproduce code:
---------------
Source code on http://temp.kukulich.net/session.php.txt

Expected result:
----------------
I expected that the example will work without any error.

Actual result:
--------------
Fatal error: session_start(): Failed to initialize storage module: user (path: C:/Program Files/Apache2/temp) in P:\Projekty\Test\session\session.php on line 9

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-20 17:40 UTC] gwynne@php.net
This is a duplicate of bug #32330. For those following this bug, my patch to fix it is at:

http://www.wanderingknights.org/maryoku/bug32330-HEAD.diff
http://www.wanderingknights.org/maryoku/bug32330-PHP_5_3.diff
 [2008-03-07 23:30 UTC] gwynne@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 15:01:32 2024 UTC