Originally posted by Arun Boraiah:
When redirecting to a page using sendRedirect use encodeRedirectURL, that is you are passing yoursession to the new request.
encodeURL can be used while include or forward to a page, where you need to pass the session info.
JSESSIONID gets appended in the url when cookies are disabled.
Thanks for your prompt reply. I need some clarification.
If we are redirecting the request to some other page, why we need to pass the session information to that page?
Regards,
M.S.Raman