18 June 2010

0 Session Tracking using URL Rewriting in JAVA

The below given is the core idea of Session Tracking using URL Rewriting in JAVA

  • Client appends some extra data on the end of each URL that identifies the session
  • Server associates that identifier with data it has stored about that session

E.g. http://host/filePath/fileName.html;jsessionid=1234

Advantages of Session Tracking using URL Rewriting

Works even if cookies are disabled or unsupported

Disadvantages of Session Tracking using URL Rewriting

  • Must encode all URLs that refer to your own site
  • All pages must be dynamically generated
  • Fails for bookmarks and links from other sites



0 comments:

Feeds Comments

Please give your valuable comments.