Skip to main content

Posts

Showing posts with the label CookieServlet

Session Management using servlet

Session management is the process of keeping track of the activities of a user across Web pages. Consider an example of an online shopping mall. The user can choose a product and add it to the shopping cart. When the user moves to a different page, the details in the shopping cart are still retained, so that the user can check the items in Messenger service in which the user name and the password are saved and displayed automatically as soon as you visit a web site. Some of the web sites track your email id and automatically start sending free subscription of their newsletters to the mail address. Session Management Techniques: HTTP is a stateless protocol and therefore cannot store the information about the user activities across Web pages. However, there are certain techniques that helps store the user information across Web pages using HTTP protocol. The techniques that you can use to maintain the session information are:     1)Hidden form field   ...