How can you ensure the continuity of the session while using HttpServletResponse.sendRedirect() method when cookies are not supported by the client?

How can you ensure the continuity of the session while using HttpServletResponse.sendRedirect() method when cookies are not supported by the client? 



a. By using hidden parameters.
b. By encoding the redirect path with HttpServletResponse.encodeRedirectURL() method.
c. By using HttpServletRequest.encodeURL() method.







Answer: B


Learn More :