Hi, Acc to what i know is --most servers revert to url-rewriting when cookies are unsupported or are disabled.then what is the association or comminication between HttpSession objects and url rewriting?? and What if i add "back to java books catalog" and a "back to xml books catalog" links(a href) on an "Status Of Your Order" Page during a shopping cart session example,will it take care of the objects associated with the session by itself and is there any need of url rewriting in this particular case?? please help.I m stuck with these concepts. preeti
Although I never tried it with url rewriting, the way I understood it was that when using session tracking in Java, cookies were used by default, and if cookies were disabled, then url rewriting was used. It was also my understanding that this was all done automatically and you really didn't need to worry about it, just like you don't have to worry about the cookies when they are used for session tracking. Try it out and see what happens, that's the best way.
The application server should rewrite the URL for you automatically if the client does not support cookies. BUT, most application servers do not do this for dynamically created URL:s. For these cases, you have to tell it to rewrite the URL.