#16890 [Fbk]: Session variables lost during page changes
| From: | kalowsky@php.net | Date: | Wed, 14 Aug 2002 16:26:04 +0000 |
| Subject: | #16890 [Fbk]: Session variables lost during page changes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16794@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: Feedback
Bug Type: Session related
Operating System: WinXP
PHP Version: 4.2.0
New Comment:
So does this post solution by madsosterby fix the problem for the rest
of you?
I know highly doubtful, but I can hope :)
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-07-06 10:39:11] info@how2pc.de
Yes, I get the same error on a Win2K-Server (PHP 4.0.6, MySQL 3.23).
The problem started when turning off register_globals.
May be its helpful to know, that variables are registered by the
session_management but their value is not stored (tested by looking
into the session file created):
<--cut-->
!s_UID|!s_UserInfo|!s_admin|
<--cut-->
I think its a bug... :-)
------------------------------------------------------------------------
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