Re: [PHP] method to prevent multiple logons of same account

2003-10-06 Thread PHP Webmaster
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This has been discused several times befor and the conclusion is that > these obstructions are wrong. What if the user loses its credentials and > he is still considered loged in. He cannot log in again. If you bind th

Re: [PHP] method to prevent multiple logons of same account

2003-10-03 Thread Raditha Dissanayake
Hi, I am in 100% agreement with mark. But if you want to go ahead with this it can be done easily with the proper use of mysql indexes. Assuming you are storing user information in the mysql db. If you reply back saying you store the userid in the session my reply is going to be. OUCH you hav

Re: [PHP] method to prevent multiple logons of same account

2003-10-03 Thread Marek Kilimajer
This has been discused several times befor and the conclusion is that these obstructions are wrong. What if the user loses its credentials and he is still considered loged in. He cannot log in again. If you bind the session to a IP address then you create problems for users behind proxy farms.