php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: m dot duss at caramail dot com
New email:
PHP Version: OS:

 

 [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:
!navigateur|!langue|!AUTEURS|!PATH_IMAGE|

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.

Patches

Pull Requests

History

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 13:01:27 2025 UTC