|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5818 Session Data Files contain no data !
Submitted: 2000-07-27 16:55 UTC Modified: 2000-07-28 09:53 UTC
From: m dot duss at caramail dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.1pl2 OS: Windows NT4.0 SP5 FR
Private report: No CVE-ID: None
 [2000-07-27 16:55 UTC] m dot duss at caramail dot com
I installed an Apache Server on Win NT4 with PHP 4 and Mysql. Everything seem to go well ...
But when I use sessions, the file containing data ( registered variables) is empty. The var names are here but they contain nothing.
Here is what's contained in a session file:

You can see that the variables are right registered but contain no data. I used session_register("navigateur"); after setting $navigateur to 1 ... and nevertheless the reg. var. is always empty.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-28 09:52 UTC] m dot duss at caramail dot com
Ok I found the problem ... It was just the Param. "register_globals" in php.ini that was turn to Off ...
I was using the optimized ini file ... I turn it on and sessions go well ...

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 17:05:53 2023 UTC