#16890 [Opn->Csd]: Session variables lost during page changes
| From: | kalowsky@php.net | Date: | Wed, 14 Aug 2002 18:11:58 +0000 |
| Subject: | #16890 [Opn->Csd]: Session variables lost during page changes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16811@lists.php.net to get a copy of this message | ||
ID: 16890
Updated by: kalowsky@php.net
Reported By: phpbug@ski-info-online.com
-Status: Open
+Status: Closed
Bug Type: Session related
Operating System: WinXP
PHP Version: 4.2.0
New Comment:
As stated by user.
Previous Comments:
------------------------------------------------------------------------
[2002-08-14 14:10:24] phpbug@ski-info-online.com
Well, since posting this I have upgraded some time ago to 4.2.1, the
problem did not repeat itself in that version and I have session vars
working fine now.
------------------------------------------------------------------------
[2002-08-14 12:26:03] kalowsky@php.net
So does this post solution by madsosterby fix the problem for the rest
of you?
I know highly doubtful, but I can hope :)
------------------------------------------------------------------------
[2002-08-14 10:36:42] madsosterby@NOSPAMmail1.stofanet.dk
Hi,
I tried alot to find the solution.. and PHP works fine
under windows 9x and apache.
Only testet with : PHP 4.2.2 and Apache 1.3.26
If found that it *ONLY* (for me at least) if I use the
dir "C:\tmp". Not if changing to C:\temp and changing it to that dir i
php.ini.. strange!
Using the php.ini-dist!
Change this:
*php.ini*
register_globals Off;
[SESSIONS]
session.save_path = /tmp
session.cookie_path = /
It Works for me now!
Greets Mads Østerby
------------------------------------------------------------------------
[2002-07-20 03:25:04] madsosterby@NOSPAMmail1.stofanet.dk
Im tried with Windows 98, php4.06, php4.1, php4.2.1 and the added
version php-dev-4.2.2.
I still cant get the sessions - the are registered in my session dir -
that I can see.
My code works under php 4.x for linux - so .. must be the windows
version of PHP.
Greets Mads
------------------------------------------------------------------------
[2002-07-16 23:57:22] sniper@php.net
Try this snapshot:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And remember to replace ALL the existing php related
files with the ones found in this package!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16890
--
Edit this bug report at http://bugs.php.net/?id=16890&edit=1