This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes JSP and the fly likes context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "context" Watch "context" New topic
Author

context

nitin kumar
Ranch Hand

Joined: May 14, 2002
Posts: 105
Hi guys,
Im creating a website in which only one user say X can login at a time.
No 2 persons bearing username X can login at same time.How can I do this.Can I get the list of all users from a ServletContext and find if there is any duplication.
bye
nitin
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: context