RE: Re: Can a PHP 5 Object Be Persisted Past Script End?

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

 



Adam

Thanks for the information, I'll explore that option.

Bruce


From: Adam Zey <azey@xxxxxx>
To: Bruce Bailey <bruce1828@xxxxxxxxxxx>
CC: php-general@xxxxxxxxxxxxx
Subject:  Re: Can a PHP 5 Object Be Persisted Past Script End?
Date: Thu, 17 Aug 2006 17:05:41 -0400

Bruce Bailey wrote:
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=Retirement

Yes (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


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
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