Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL Rewriting

 
Nidhi Singhal
Ranch Hand
Posts: 89
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to track session using url rewriting. I have cookies support disabled on my browser. Please give an example of how to perform url rewriting in servlets. Also I want to know what is the difference between EncodeURL and EncodeRedirectURL.
Thanks...
-Nidhi
 
anupa oru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
in case of encodeURL requested URL is appended with session id for each request,encodeRedirectURL is equvalent to sendRedirect when cookies won't supported in client machine.
Thanks
Anupa
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic