Session tracking techniques?

There are three session tracking techniques:

  • Cookies: 
Cookies is used to store information about the session in the file on the client machine and from cookie session can get the information. User can disable or delete the cookie s on particular browser.
  •  URL rewriting:
It is used to add the data at the end of each URL to indicates the session. As example:
http://www.javaforecast4u.com/register?uid=&email=emailid&phone=phone.
It will be lengthy. It is solution if users are disabled the cookies.
  •  Hidden form fields in HTML: 
Hidden form fields are used to store information about the session. We can retrieved  hidden data later by using the HTTPServletRequest object.  HTML form data included in the Get or Post.

0 comments :

Post a Comment