• Post Reply Bookmark Topic Watch Topic
  • New Topic

Login in same user at the same time in different machine  RSS feed

 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Bhushan Jawle
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Track the IP address of the User.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!