PHP 4.0 Bug #2735 Updated: session variables wont register in some cases
| From: | Bug Database | Date: | Thu, 18 Nov 1999 13:15:24 +0000 |
| Subject: | PHP 4.0 Bug #2735 Updated: session variables wont register in some cases | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12719@lists.php.net to get a copy of this message | ||
ID: 2735
User Update by: tojo@jogin.nu
Old-Status: Closed
Status: Open
Bug Type: Scripting Engine problem
Description: session variables wont register in some cases
Please listen for just one minute, re-read my post.
PHP 4.0 BETA 2.
Ok ?
I have a script to demonstrate this if you dont believe me.
http://hem2.passagen.se/jogin/test.htm has a
couple of links. Choose a link in a subfolder.
You now arrive at a php4 powered page with links to other subfolders and also to the very root of
the webserver.
A few lines down is a line like : s_first_encounter NOT empty: <value>
Value is the script name that was FIRST read on this domain. Watch carefully its behaviour when
selecting a link from this page to another FOLDER, it CHANGES. Whilst being in this folder, the
value is intact, but if you change to another folder, bam, it changes again, until you go to the
very document root, where it is set permanently, because a session variable is PER SESSION AND PER
FOLDER AND ITS SUBFOLDERS RESPECTIVELY.
If you dont believe i use php4, check http://jogin.nu/phpinfo.php.
/sincerely, Tomas Jogin
Full Bug description available at: http://bugs.php.net/?id=2735