JSP Redirection: Session Loss Issues
Replacing <jsp:forward page="URL">with response.sendRedirect("URL");, I found that I know that I lost the session after the redirect. Is there a way to save a session with a redirect, or recreate a session cookie and send it along with a redirect?
I know that I could use JavaScript through window.location = "URL";, but this is far from ideal!
Any help?
+3
2 answers