This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What should we do about Login?