File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

preventing multiple user with same user Name and pswd

 
Manoj John
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please help...
In my application i need to prevent multiple login of same user.
I need it to implement when one loged in the previous user should inactivate.any solution is there without using database operations.
...
 
sreenath reddy
Ranch Hand
Posts: 415
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

This any framwork wont provide u ...u need to do this by choosing some algorithm..

i will tell u one .whenver the user tries to login (if he is valid) check for an entry in some hashmap(where u will be storing the username,session after successful login) if thereis already one u warn him r do whatever u like else ........

i had impl this in mine

get back if u need any help
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic