I wants to know that How can i Manage Session if the client browser has disabled cookie feature..
If I wants to implement it in simple JSP – Servlet, then how can I do that ?
Thanks in advance…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the JSP side, you can use JSTL‘s
<c:url>for this.Easy as that. It will automagically append the
jsessionidwhen cookies are disabled.In the Servlet side you need
HttpServletResponse#encodeURL()or -usually the preferred one inside Servlets-HttpServletResponse#encodeRedirectURL()for this.