• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Tracking and URL Rewriting??

 
preeti dengri
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
preeti dengri
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
waiting for help
preeti
 
sharad goswami
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
of course u will have to take care by url rewritting incase u provide href for back because http being stateless it will not take care of session object itself.
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Magnus Rydin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic