#16890 [Com]: Session variables lost during page changes

From: Date: Wed, 22 Oct 2003 23:06:11 +0000
Subject: #16890 [Com]: Session variables lost during page changes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49368@lists.php.net to get a copy of this message
ID: 16890 Comment by: psloan at exchange dot purdue dot edu Reported By: phpbug at ski-info-online dot com Status: Closed Bug Type: Session related Operating System: WinXP PHP Version: 4.2.0 New Comment: I seem to be getting this problem myself and the above DOES NOT resolve the problem. PHP 4.3.3, IIS 5. Previous Comments: ------------------------------------------------------------------------ [2002-08-14 14:11:57] kalowsky@php.net As stated by user. ------------------------------------------------------------------------ [2002-08-14 14:10:24] phpbug at ski-info-online dot 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 at NOSPAMmail1 dot stofanet dot 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 at NOSPAMmail1 dot stofanet dot 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 ------------------------------------------------------------------------ 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

« previous php.bugs (#49368) next »