• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion in URL Rewriting

 
Glenny Dsilva
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confused when to use url rewriting

As I know that sessions are created in three ways

using cookies
HttpSession
and URl Rewriting

I normally track session by using HttpSession s = req.getSession(true);

Then what is the diff between HttpSession and URL Rewriting.
 
Ashwin Kumar
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For more information, http://home.earthlink.net/~alxdark/software/wcd-guide/ch05s03.html.
Found one more for you,
http://publib.boulder.ibm.com/../.../../concepts/csesmsession_mgmt.htm
[ May 11, 2005: Message edited by: Adeel Ansari ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic