Re: session related connection handling/cvs/mem
| From: | Ron Lange | Date: | Fri, 28 Jun 2002 20:18:26 +0000 |
| Subject: | Re: session related connection handling/cvs/mem | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85663@lists.php.net to get a copy of this message | ||
Hi Derick,
I have rewritten some parts of my work, now it isn't necessary to keep so
much data any longer.
I took a look in the mysql extension, because persistant links are quite
close to my wishes. There is also a struct holding connection data, and
it is used as global ressource. If I imagine I just put a session id as
'key' in a similar struct, may I could traverse a list of this ressources
at each request, couldn't I?
Getting mad
Ron
derick@php.net wrote:
...
> You need to serialize that c data struct somehow which you can load when
> the session 'wakes up' again. I imagine that might not be possible for
> sockets, so you need to resort to some deamon for that to keep the sockets
> survive after a request ends. Now there is a solution for this already:
> SRM. (For more information see www.vl-srm.net, or write to
> srm@lists.vl-srm.net). I would be happy to answer every question you have
> about it.
>
...