You are here: Re: [PHP] PHP 5.0. Save classes in a session. Need help now « PHP « IT news, forums, messages
Re: [PHP] PHP 5.0. Save classes in a session. Need help now

Posted by Dan Rossi on 05/12/05 04:44

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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация