PHP 4.0 Bug #10063: Session variable aren't visible from class
| From: | thierry dot bertin at videotron dot ca | Date: | Thu, 29 Mar 2001 17:49:31 +0000 |
| Subject: | PHP 4.0 Bug #10063: Session variable aren't visible from class | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50285@lists.php.net to get a copy of this message | ||
From: thierry.bertin@videotron.ca
Operating system: linux mandrake 7.2
PHP version: 4.0.4pl1
PHP Bug Type: Class/Object related
Bug description: Session variable aren't visible from class
I hope you excuse me for my poor english...
So, i try to use a session and sessions variables in php.
It's work fine, but when i try to use a variable into a object class, the values of my
variables aren't visible thru the clas and function of this class.
I declare the variables as global in the class constructor, then i can acces to the value but not in
a function of this class.
regards
Thierry
--
Edit Bug report at: http://bugs.php.net/?id=10063&edit=1