If you are refering to loging in, you should look into the J2EE authentication mechanisms. You can (for example) define a login screen, the username and password will be validated automaticaly for you and stored on the session. Have a look at Basic or Form-based authentication. Also see HttpServletRequest.getRemoteUser() and HttpServletRequest.getUserPrincipal() to see how the security details are stored internally. Please try to use more descriptive topics in your threads. Help us help you. thanks, Dave
Joined: Mar 25, 2002
Hi Actaully i need to develop forumn website my self. so according to this website i need to store password and username in client pages once visit website.So which concept i can use for this facility.
u could use persistent cookies to store the username on the client . Storing the password in the same cookie is also possible provided the Client selects to do so as we find on several sites with The Remember Me CheckBox.