RE: [PHP] Re: Can a PHP 5 Object Be Persisted Past Script End?
| From: | Bruce Bailey | Date: | Thu, 17 Aug 2006 21:38:55 +0000 |
| Subject: | RE: [PHP] Re: Can a PHP 5 Object Be Persisted Past Script End? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240832@lists.php.net to get a copy of this message | ||
Adam
Thanks for the information, I'll explore that option.
Bruce
From: Adam Zey <azey@nit.ca> To: Bruce Bailey <bruce1828@hotmail.com> CC: php-general@lists.php.net Subject: [PHP] Re: Can a PHP 5 Object Be Persisted Past Script End? Date: Thu, 17 Aug 2006 17:05:41 -0400 Bruce Bailey wrote:_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/Hi In order to improve performance for a socket-based PHP 5 object, I would like to persist an object beyond the end of a script. Is there any way to make this work? Will PHP 5 automatically destroy the object sometime after the script ends? Thanks in Advance, Bruce _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=RetirementYes (it will destroy them), but you can look into persistent sockets, and serializing objects. Info is in the manual. Regards, Adam. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php