php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5663 Session Handling with MySQL Ceases to Work
Submitted: 2000-07-18 12:41 UTC Modified: 2000-08-18 21:30 UTC
From: hutch at bdel dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.1pl2 OS: Gnu/Linux
Private report: No CVE-ID: None
 [2000-07-18 12:41 UTC] hutch at bdel dot com
Ying's script for MySQL session handling available at http://www.phpbuilder.com/columns/ying20000602.php3 works on Linux/Apache 1.3.12/PHP 4.0.0 but not on Linux/Apache 1.3.12/PHP 4.0.1pl2.

Was customized session handling removed?  Perhaps this is now covered in the woefully under-documented session.save_handler directive?  

Apache logs reveal the following:

<b>Warning</b> : Failed to write session data.  Please check that thte current setting of session.save_path is correct(/tmp) in <b>Unknown</b> on line <b>0</b><br>

When the MySQL session handling is not in place, the /tmp directory holds session information without a problem.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 09:22 UTC] stas@php.net
What are your .ini settings? Not that you have to set session.save_handler to "user" or use latest CVS where is is set to that on session_set_save_handler.
Please try the latest CVS (http://snaps.php.net/) and report if it helps.
 [2000-08-18 21:30 UTC] sniper@php.net
No feedback from user.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 07:01:28 2024 UTC