File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Login in same user at the same time in different machine Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Login in same user at the same time in different machine" Watch "Login in same user at the same time in different machine" New topic
Author

Login in same user at the same time in different machine

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
How to restrict the a user (userid) to restrict to login in different machine,if he is already logged in.
For example...i have already logged in using my id say admin.this admin sould not be able to login again if he is already logged in.suggestions will be better without using database checking.
Thanks,


Thanks,
Mathews
Bhushan Jawle
Ranch Hand

Joined: Nov 22, 2001
Posts: 247
If u don't want to do that in DB, you will need to have the info. somewhere. ServletContext seems like a good candidate. Do make sure that you synchronize ur access to this structure
sampy jagan
Ranch Hand

Joined: Sep 17, 2002
Posts: 34
Track the IP address of the User.
 
 
subject: Login in same user at the same time in different machine
 
Threads others viewed
session issue with multi tabs in a browser
Restrict Login from Multiple Sessions
maintining two sessions in same browser window
Prevent Duplicate Logins
how can i restrict user to login from different machine if already login?
IntelliJ Java IDE