absolutely! Sorry for my english first, what I want to do is make sure one account can login in at the same time, is there any mechanism in PHP can slove it? or I have to use external program (daemon what I develop) to do so? the way I imagination is list below does that work or you have smarter solution?
----- Original Message ----- From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 12:32 AM Subject: Re: [PHP] How to implement this by php Session > On Thursday 23 January 2003 00:26, Chris Shiflett wrote: > > --- Henry <[EMAIL PROTECTED]> wrote: > > > I'd like to implement ONE USER SIGNIN at the same time, > > > the way I consider about is below: > > > 1 record the sessionId and userId in some media(db), > > > then we'll know who is login and who is not > > > 2 use a demon program to determine whole sessionId > > > which is live and correspond to db's data if some > > > session is dead then demon program will remove from db > > > > > > that's what I think, does it work? or anybody has real > > > exprience about it? if my idea work, how to get whole > > > live sessionId from webserver(apache+php)? > > > > I honestly cannot understand exactly what you are asking, > > but are you certain it is different from just using PHP's > > sessions? It sounds to me like it is the same thing. > > Sounds as if he wants to ensure that only one (active?) login (per account? or > per application?) is allowed at any one time. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Hug me now, you mad, impetuous fool!! > Oh wait... > I'm a computer, and you're a person. It would never work out. > Never mind. > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php