aspose file tools*
The moose likes Servlets and the fly likes How to restrict the user logging into my site twice from the same place or different Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to restrict the user logging into my site twice from the same place or different " Watch "How to restrict the user logging into my site twice from the same place or different " New topic
Author

How to restrict the user logging into my site twice from the same place or different

sjhyam m
Greenhorn

Joined: Apr 26, 2001
Posts: 7
Hi, I have to restrict the user from signing twice to my site from the same place or from another place. I would like you give functionality similar to Yahoo/MSN messenger, when the user logs in for the second time. In my applicatin I am able to catch the user when he logs in second time, and giving a message to the user about the relogin. But I want to close the previous session of the user, so that the user can continue working at this place. Any ideas/advices on how to do this.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

As far as I know... there's really no way to invalidate a session simply with the Session ID. Check out this thread for more info on that --> http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=007076
HTTP is a stateless protocol, I don't believe what you want to do is possible. -- Maybe look into applets or signed applets with full permission -- maybe you can do something there with what you want.


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
 
Don't get me started about those stupid light bulbs.
 
subject: How to restrict the user logging into my site twice from the same place or different
 
Similar Threads
How to restrict duplicate login?
how to solve this?
session invalidating using session ID????
Single login for a Particular url
HOW TO RESTRICT USER FROM LOGGING FROM TWO MACHINE