File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Handling security while login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Handling security while login" Watch "Handling security while login" New topic

Handling security while login

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
I have a problem in handling the security issue while logging in.see once a user logs in from a browser a new session will be created but how to prevent the user from opening up a new browser and again he logs in.
I should not allow the user to do that .can any one help me out in this regard .i am new to this servlets/jsp .i heard that it can be done using cookies is it true and if yes can any one send me the sample code r can u guide me how to this??
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You've asked the same question in the the Servlet forum here. Please don't post the same question in multiple forums, it creats duplicate conversations and wastes the time of the people trying to help you.
Aslo, please try try to reduce your usage of contractions (u, r, etc), they just make it harder to understand posts.
I agree. Here's the link:
subject: Handling security while login
It's not a secret anymore!