Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Lars Olsson
I agree. Using a database is usually a good way of storing session information. But as noted by Dennis below, automatic logout may require additional scripts running in the background. This is a bit inferior in PHP compared to ASP. In ASP, support for automatic session destruction is implement

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Analysis & Solutions
On Tue, Jul 16, 2002 at 01:57:51PM -0400, Monty wrote: > Is there a standard method in PHP for preventing multiple people from using > the same log-in username/password simultaneously on a membership site? Any > suggestions are greatly appreciated. My session management system uses a database bac

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Dennis Moore
lt;[EMAIL PROTECTED]>; "Monty" <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 3:22 PM Subject: Re: [PHP] Preventing Multiple Log-Ins after Authentication > If you do not want to use cookes and use SID or trans SID; Another method is > to track your logins via a database. Thi

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Dennis Moore
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 1:57 PM Subject: [PHP] Preventing Multiple Log-Ins after Authentication > Is there a standard method in PHP for preventing multiple people from using > the same log-in username/password simultaneously on a member

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread 1LT John W. Holmes
y think it's someone else trying to log on... Not sure if there is a truly effective way to do this... ---John Holmes... - Original Message - From: "Monty" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 1:57 PM Subject: [PHP] Preventing

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Kondwani Spike Mkandawire
create cookie and at the end of the Script/page destroy cookies Use if statements: setcookie('cookie', $value, $expire, $path $domain); if(isset($cookie)) echo "Access Denied, Multiple Login Attempted!";

RE: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Jay Blanchard
[snip] Is there a standard method in PHP for preventing multiple people from using the same log-in username/password simultaneously on a membership site? Any suggestions are greatly appreciated. [/snip] One way is to set a non-expiring cookie, which works if they don't delete cookies from time-to

[PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Monty
Is there a standard method in PHP for preventing multiple people from using the same log-in username/password simultaneously on a membership site? Any suggestions are greatly appreciated. Thanks! Monty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net