jQuery in Action, 3rd edition
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "What should we do about Login?" Watch "What should we do about Login?" New topic

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://aspose.com/file-tools
subject: What should we do about Login?
It's not a secret anymore!