[PHP] Re: synchronizing php functions

2002-07-03 Thread Richard Lynch
>Well I have a system that people can login to, and I want to produce an >array (or something of the sort) >that holds who is logged in so that I can monitor it. Aha! The "who's logged in right now" feature! :-) Problem #1. First, you need to clearly define "logged in" Am I logged in for the

Re: [PHP] Re: synchronizing php functions

2002-07-03 Thread Erik Price
On Wednesday, July 3, 2002, at 04:08 AM, Philip MacIver wrote: > The problem is that sessions are local to the clients machine Huh? > so if I tried to put this information in the session then the only > information that I would get back is the people that > are > logged in on my machine, not

[PHP] Re: synchronizing php functions

2002-07-03 Thread Philip MacIver
Well I have a system that people can login to, and I want to produce an array (or something of the sort) that holds who is logged in so that I can monitor it. The problem is that sessions are local to the clients machine so if I tried to put this information in the session then the only informat

[PHP] Re: synchronizing php functions

2002-07-02 Thread Richard Lynch
>Does anyone know anyway to synchronize calls to php functions. >I was thinking of writting a hack that uses a lock file on the server put >if there is a proper way to do it then I would >rather use that. >Any suggestions would be good. Shared memory may be faster than lock files... *WHY* you t