Results 1 to 10 of 10
Thread: How to track multi-login ?
-
10-20-2013, 03:57 PM #1WHT Addict
- Join Date
- Feb 2011
- Posts
- 115
How to track multi-login ?
Hello,
I wonder what is the best solution to recognize multi account login in real time. In case when few (at least two) users login to same account, how to track this kind of cheat, what is the best solution ?
Regards.
-
10-20-2013, 10:22 PM #2Web Hosting Master
- Join Date
- Nov 2004
- Location
- Dallas
- Posts
- 740
This is not a cheat, it depends on your application and the business logic and that would determine if that should be authorized or not.
If you are tracking session state in the DB, a scan of active sessions should be enough. Other solutions may apply, such as keeping a cache of current sessions in a key-value storage system.
-
10-21-2013, 02:27 AM #3WHT Addict
- Join Date
- Sep 2013
- Location
- On Earth
- Posts
- 131
Its not cheat. All depending on your application, you can restrict them to 1 active login.
Use DB for sessions and when user login from new location end his old sessions.
Or track multi sessions through DBLooking around for some time
PM me for Website Design and Web Development Work.
-
10-22-2013, 07:07 AM #4New Member
- Join Date
- Sep 2009
- Posts
- 2
You will definitely track active login via sessions.. To identify the new login you should match the Browser UA and IP..
If IP Address is changed, regenerate sessions at that point.
You just have to mix up things and see what best suits your site model.
-
11-04-2013, 12:20 AM #5New Member
- Join Date
- Aug 2013
- Posts
- 3
You can use database to keep active session as well as use IP to distinguish sessions
-
11-04-2013, 01:29 PM #6Web Hosting Guru
- Join Date
- May 2013
- Location
- Dubai, UAE
- Posts
- 283
Store a unique session ID in your session and store the active session ID in the database. If someone new logs in, the session ID in the database changes and the old person's session automatically dies.
-
11-13-2013, 08:40 PM #7Newbie
- Join Date
- Nov 2013
- Posts
- 13
Try track IP address, cookies and block tor server.
Actual tor servers www|dot|dan|dot|me|dot|uk/tornodes
-
11-23-2013, 06:42 PM #8Junior Guru
- Join Date
- Feb 2006
- Posts
- 188
You could set a field in the database to a specific value whenever a user logs in and reset the field value once logs out.
The field status should automatically be reset after a given time, in case the user just shuts down the browser and doesn't log out.★ Web Hosting by Brontobytes
-
12-09-2013, 03:19 PM #9Newbie
- Join Date
- Sep 2013
- Location
- India
- Posts
- 23
Yes, you can use set a value for different login user record in database to track them according to their respective data in database.
-
12-17-2013, 07:37 AM #10Junior Guru
- Join Date
- Nov 2010
- Location
- /
- Posts
- 234
There are many ways to implement your desired functionality. The best approach is to create a new table that will handle user sessions. When the new user tries to log in, the system check for any active session. If it exists, you either destroy and create a new one, or show the user an error message ("You are already logged in").
But there are also other approaches to this issue. It depends on the system you are working on.█ Dot.AL - .AL Domain Name Registration
█ .AL - Register your .AL Domains at. Get a Premium Domain NOW.
█ Shard Hosting - cPanel - Backup - 24/7 Monitoring Over 200 Ready Scripts
█ Awesome Promotions for you, check our announcements page.
Similar Threads
-
SSH login attack, how to track?
By tommy916 in forum Hosting Security and TechnologyReplies: 9Last Post: 09-02-2005, 11:57 AM