Re: PHP 5.0. Save classes in a session. Need help now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux