Persisting objects over application lifetime (without serialization)
- From: Nils Magnus <nmee@xxxxxxxx>
- Date: Sun, 13 Apr 2008 16:25:21 +0200
Hello, is it possible when using PHP5 as an Apache module (with or without third party products/modules) to persist objects for the lifetime of the application?
I'm not talking about serializing objects when a request is processed, then unserializing them in the beginning of the next request - but rather thread-safe objects that can simultaneously be used by several requests.
I have been suggested making a PHP script that runs stand-alone, listening on TCP/IP for local requests from the Apache web scripts. While this absolutely is a feasible solution, I was hoping the same could be accomplished without the use of having a stand-alone script (which basically means another server process to watch and monitor).
Regards,
Nils Magnus
.
- Follow-Ups:
- Re: Persisting objects over application lifetime (without serialization)
- From: Jerry Stuckle
- Re: Persisting objects over application lifetime (without serialization)
- Prev by Date: Re: Need a hint on how to display mysql field as a link to a query
- Next by Date: Re: Need a hint on how to display mysql field as a link to a query
- Previous by thread: New website written in PHP, MySQL
- Next by thread: Re: Persisting objects over application lifetime (without serialization)
- Index(es):
Relevant Pages
|