PHP 4.0 Bug #2735 Updated: session variables wont register in some cases
| From: | Bug Database | Date: | Thu, 18 Nov 1999 07:02:52 +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-12699@lists.php.net to get a copy of this message | ||
ID: 2735
User Update by: tojo@jogin.nu
Status: Closed
Bug Type: Scripting Engine problem
Description: session variables wont register in some cases
No. the problem persists in php4 beta 2.
If a session variable is set in the root folder of the website, sure, great, it will work wherever
you are on that website.
If, however, a session variable is set in a subfolder on that domain, it will also only work in its
subfolders respectively, but if you try to read that variable in the root folder, its a no-no, cause
its empy.
http://hem2.passagen.se/jogin/test.htm has a
bunch of links to my php site, click on one of the documents in a SUBFOLDER, then from that document
click around, the session variables values are printed on the bottom of the page, you will see that
they are reset ever time you go to a different subfolder, until you go to the very root folder, then
they are permanently set. Because, as i stated, session variables are per folder and its subfolders
respectively.
Full Bug description available at: http://bugs.php.net/?id=2735