Skip to main content
gamedev.net
🔒 Locked

[web] Implementing Login Help

Started by b1gjo3 1 reply 700+ views
Original Post
b1gjo3
b1gjo3
Im using JSP's and servlets with a mysql database to implement user login, i know how i can let a user identify oneself by just checking to see if the hashed password is the same as database along with their email. But after they login, how do the JSP's or servlets know what their userid would be after they switch to another page. Can someone help me out with this. -Thanks
Zuka
Zuka
Wouldn't you use cookies to store their username/userid (plus the hashed password to prevent cookie forgery)?
Hi, I can't really come up with a good signature at the moment...
b1gjo3
b1gjo3
how would i do that though?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.