Re: PHP 5.0. Save classes in a session. Need help now
| From: | Dan Rossi | Date: | Thu, 12 May 2005 01:44:49 +0000 |
| Subject: | Re: PHP 5.0. Save classes in a session. Need help now | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214998@lists.php.net to get a copy of this message | ||
I've done this by serializing and unserializing the the object. Its been discussed however using shared memory, shm is a better way to do it ? Sadly sh doesnt compile as default.
On 12/05/2005, at 10:19 AM, Oscar Andersson wrote:
Is it possibele to save a class in a session ex. $cl = new Class(); $SESSION['this_class'] = cl; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php