I normally track session by using HttpSession s = req.getSession(true);
Then what is the diff between HttpSession and URL Rewriting.
Joined: Apr 07, 2005
If the browser does not support cookies, or if cookies are disabled, you can still enable session tracking using URL rewriting. URL rewriting essentially includes the session ID within the link itself as a name/value pair. However, for this to be effective, you need to append the session ID for each and every link that is part of your response.