php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39770 Session variables not preserved
Submitted: 2006-12-07 17:43 UTC Modified: 2006-12-07 19:58 UTC
From: ian dot hindle at csplc dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.0 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ian dot hindle at csplc dot com
New email:
PHP Version: OS:

 

 [2006-12-07 17:43 UTC] ian dot hindle at csplc dot com
Description:
------------
I have had exactly the same problem as #24410 (Session variables not being preserved between pages). I edited the save path in the php.ini file as suggested, but when I tried displaying phpinfo, a completely different path was shown. When I created the directory in this path, my sessions worked.  The developer who reported #24410 asked the question why his setting for session.save_path was being ignored, but seems to have had an epiphany that has eluded me! How is the save_path set?

Reproduce code:
---------------
(from php.ini file)
session.save_path = "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\tmp"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-07 19:58 UTC] tony2001@php.net
>How is the save_path set?
Look into phpinfo(), find the path where PHP looks for php.ini, add session.save_path to php.ini, restart the web-server.
That's all.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC