NYCPHP Meetup

NYPHP.org

[nycphp-talk] Sessions and Classes

Jon Baer jonbaer at jonbaer.net
Sun Oct 3 23:54:24 EDT 2004


Depending on the complexity of the class you could go with serialization ...

http://us4.php.net/serialize

- Jon

Keith Richardson wrote:
> I want to store a class with data in it and have it accessable from
> page to page - I would normally use sessions for normal data - but I
> dont think I can store a class, because the class has to be defined
> through the php scripts.
> 
> How would you guys go about doing this?
> 

-- 

pgp key: http://www.jonbaer.net/jonbaer.asc
fingerprint: F438 A47E C45E 8B27 F68C 1F9B 41DB DB8B 9A0C AF47



More information about the talk mailing list