Session Variables in classes
| From: | Richard Lawley | Date: | Fri, 03 Mar 2000 11:07:54 +0000 |
| Subject: | Session Variables in classes | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11444@lists.php.net to get a copy of this message | ||
Is it possible to have a class member variable made into a session variable?
The only way I have been able to implement this so far is to use a global
variable instead of the class member variable. While this is sufficient for
my solution where there is only ever one instance of the class on any page,
I would not know how to do this if I had multiple instances of the class as
they would all be referring to the same var.
TIA
Richard Lawley