Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread deco
an easier way of doing this is to have a database of users with their password in the table and when they log on simply mark them logged using sum boolean variable. this will, cut down time. good luck!. and remeber Have a nice day :) And when would you uncheck the boolean

[PHP] Session - to restrict same user from two logins

2001-07-25 Thread Sheni R. Meledath
Hello: Session: I am using sessions for user authentication in one of our sites. Are there any ways to restrict the same user from logging in from two different machines. That is, once if the user is logged in, and if somebody tries to log-in using the same userid and password it should be

Re: [PHP] Session - to restrict same user from two logins

2001-07-25 Thread Saquib Farooq
Hello Sheni when a user logs into a site, the information that the php server gets is about the machine and not about a particular person, so you have to associate information with that particular person, what i mean is give your users passwords and maintain a database of those logged in