The moose likes Servlets and the fly likes What should we do about Login? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "What should we do about Login?" Watch "What should we do about Login?" New topic
Author

What should we do about Login?

Mark Lau
Ranch Hand

Joined: Dec 15, 2001
Posts: 120
I am working on a web application.
What should I do after a userid and the password are verified according to the user database information?
Should I store the userid in a session object? This way, when a user orders something from my site, I can get the userid from the session object, and correctly bill him (instead of somebody else) in the database, right?
Otherwise, login or not, it does not make any difference. Right?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: What should we do about Login?
 
Similar Threads
Autologin ?
storing values in session during authentication
How to implement Session Tracking
Need weblogic specific classes to get reference to HttpSession object
Questions about session tracking