Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL Rewrite

 
ram ragu
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
When we do URL rewrite as shown below
pw.println("<a href=\""
+ res.encodeURL("/servlet/Hello")
+ "\"> View Servlet</a><br>");
are we supposed to see the SessionID on the URL? ( when we view the source )
Thanks
Ram
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but only if the cookies are disabled by the client. Otherwise, this method does not do anything.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic