aspose file tools*
The moose likes Servlets and the fly likes What should we do about Login? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
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?
 
jQuery in Action, 2nd edition
 
subject: What should we do about Login?