Re: Persistant global objects: WAS: RE: [PHP-DEV]
| From: | Wez Furlong | Date: | Fri, 06 Sep 2002 10:42:57 +0000 |
| Subject: | Re: Persistant global objects: WAS: RE: [PHP-DEV] | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87995@lists.php.net to get a copy of this message | ||
On 06/09/02, "Tyson Lloyd Thwaites" <tysonlt@webmedia.com.au> wrote:
> Maybe there's a way to more tightly integrate it with PHP, so it send data
> directly somehow (shm?), rather than through sockets...
You could just use the shm extension; it can serialize data.
IIRC there is an "Application" class in pear that does this, although
it is really quite simple to "hand-code" it yourself.
If you need to talk to a central session manager process, as of PHP 4.3
you will be able to use sysv IPC to send messages directly from PHP.
You could also try SRM.
This stuff is really not a php-dev topic though, and has been discussed
too many times now; it doesn't hurt to search the archives does it?
--Wez.