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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 18:03:43 2023 UTC