What is URL Rewriting ?


When the client does not accept cookies, you can use URL rewriting to handle session management. It takes the session ID and sticks it right onto the end of every URL that comes to in to this app. When the user clicks that enhanced link, the request goes to the container with that extra bit at the end, and the container simply strips off extra part of the URL and uses it to find the matching session.

We add the session ID to the end of all URLs in the HTML we send in the respose.
 
<a href=http://www.xyz.com/demo.do;jsessionid=0AYU88d7dd89dd8>click me</a>


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email