Posted by Toby A Inkster on 01/17/08 22:47
KDawg44 wrote:
> So, how do I keep persistent objects throughout the application? Will
> each PHP call instantiate a new session or new version of the PHP script
> or can I simply put the objects in the $_SESSION?
Yes, you may persist objects in $_SESSION.
--
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 18 days, 10:00.]
Ham vs Bacon vs Pork
http://tobyinkster.co.uk/blog/2008/01/17/pork-etc/
[Back to original message]
|