Use a PHP Session variable and a database to keep track of which user is logged in.
--- In [email protected], "hgnowhg" <hgno...@...> wrote: > > My application is a .swf file inside a php wrapper. Since I have a paid > subscription site, I want to prevent "user A" from giving his password to > "user B". If user B loggeds in w/ User A's username & password, then I will > simply log out User A. (In the case that User B stole the password/username > of User A then User A can simply change his password...This would also allow > User A to login at home if he forgets to logout of the application while at > work). > > What's the best way to do this? >

