Posted by Toby A Inkster on 01/20/08 09:45
Gert Kok wrote:
> $_SESSION['b'] = new Special();
You are storing an instance of the Special class into the session.
However, Common::$checker is a static variable, and is not part of the
object you are storing, so will not be stored.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 20 days, 20:56.]
Ham vs Bacon vs Pork
http://tobyinkster.co.uk/blog/2008/01/17/pork-etc/
[Back to original message]
|