• Post Reply Bookmark Topic Watch Topic
  • New Topic

response.encodeURL

 
varun bihani
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does response.encodeURL() works?/
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If cookies are enabled on the client browser then it leaves the url unchanged. If they are not enabled it concatenates the users session id to the URL as a request parameter.
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You meant response parameter, not request parameter, right?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no such thing as a response parameter. The session id is tacked onto the end of the URL so that it serves as input to the redirecting request. The container will use this value to 'hook up' the request to the appropriate session.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!