#39770 [Opn->Bgs]: Session variables not preserved
| From: | tony2001@php.net | Date: | Thu, 07 Dec 2006 19:58:23 +0000 |
| Subject: | #39770 [Opn->Bgs]: Session variables not preserved | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106073@lists.php.net to get a copy of this message | ||
ID: 39770
Updated by: tony2001@php.net
Reported By: ian dot hindle at csplc dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows XP
PHP Version: 5.2.0
New Comment:
>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.
Previous Comments:
------------------------------------------------------------------------
[2006-12-07 17:43:45] 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"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39770&edit=1