#16890 [Fbk->Opn]: Session variables lost during page changes
| From: | phpbug at ski-info-online dot com | Date: | Wed, 14 Aug 2002 18:10:25 +0000 |
| Subject: | #16890 [Fbk->Opn]: Session variables lost during page changes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16809@lists.php.net to get a copy of this message | ||
ID: 16890
User updated by: phpbug@ski-info-online.com
Reported By: phpbug@ski-info-online.com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: WinXP
PHP Version: 4.2.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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!
------------------------------------------------------------------------
[2002-07-16 17:37:16] wyn@taloncymru.com
I am gettig a similar problem. Values obatined from mySQL in one php
script should be passed to the next one rather than re-reading the
table. I am running PHP 4.2.1 with MySQL 3.23.49 on Win2k.
Wyn.
------------------------------------------------------------------------
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