track « User « JSP-Servlet Q&A





1. Tracking user    coderanch.com

2. best way to keep tracking of the user info?    coderanch.com

You can store the login in the HttpSession (setAttribute). It is best to not keep track of the password. Read it once, authenticate and then keep a record in the session that the user is logged in. One way is to store the login only when authenticated. Keeping passwords in memory invites someone to do a memory dump and get them. ...