strange problem, but very similar to links in linux. you must be maintaining a database or a record file. u can maintain all links ('users' as u put it) for a given user. if a user logs in through any of his accounts, check if he/she is logged in another A/C and stop this one. else, allow log-in and set a flag. alternately, close previously opened A/C and allow current one. this is similar to wat yahoo messenger does and is a good safety measure. Q. why do you want to assign more than one A/C anyway? and if its an invitation to someone else, then you MUST not stop that new person. he would be a valid subscriber, won't he? No PHP here :(, guys would frown... KM On 6/24/06, suresh kumar <asureshkumar_1983@xxxxxxxxxxx> wrote:
Hi, I am facing one problem.i previously mailed ,but there is no response,its running out of time.i want to implement that logic as soon as possible.This is my problem We are developing an online software for displaying ads in big mall.I want to restrict only one user can login to his own account at that particular time.suppose "users1" created a new user "users2" for another user.If "user1" login to the "users2" account and at that same time i want to restrict "user2 " for log in to his account.i want at a time only one user can access his account.I am waiting reponse from u A.suresh --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click here