SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Apr 17, 2014, 00:50 #1
- Join Date
- Apr 2014
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How to check if the account is logged in to another computer can not log in.
Hi All, I have a issues that if the account is logged in to another computer can not log in.
please tell me how to solve this issues.
Thanks you so much.
-
Apr 17, 2014, 02:46 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
Hi tpnguyen91, welcome to the forums,
What do you mean by "logged in to another computer" ??
Don't accounts login from a computer?Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Apr 18, 2014, 12:36 #3
- Join Date
- Oct 2002
- Location
- Scotland
- Posts
- 3,631
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Are you asking ... "How can I check if an account is logged in, and if so, stop someone else logging in to the same account from another computer?"
If that is what you are asking, use a database to record the logged in status, and when processing the login check the logged in status to see if that account is already logged in.
Note: You'd need to put in some garbage collection routine to logout accounts that have been idle for a defined period of time.
Bookmarks