The just implemented the solution found below and it works !
Re: Redirect from HTTPS to HTTP on Tomcat 4 problem
Author: r_klemme Dec 3, 2001 8:54 AM (reply 2 of 12)
hm, i do not have a solution but typically you don't do a secure login and then redirect to an insecure page. the normal...
Check this out http://forum.java.sun.com/thread.jspa?threadID=197150&tstart=0
I just stumbled onto the problem myself and am looking for a fix too lol.
Maybe try going to https://www.mysite.com/servlets/myservlet?page=2 instead of https://secure.mysite.com/servlets/myservlet?page=2
because the browser might be killing the session because it thinks its going to a new website.
I suggest you read how to setup SSL at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
If you've already installed a certificate then you can force it the ugly way by going response.sendRedirect("https://locahost/blah");
I suggest you read how to setup SSL at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
If you've already installed a certificate then you can force it the ugly way by going response.sendRedirect("https://locahost/blah/blah");
I have searched the forums before with the same question. It's ugly but I do believe you will have to hardcode http:// to terminate https. I haven't tried it but you can hack it by dynamically getting the request.url and create a formatter that appends the http:// to it.
Good luck.
, Vincent
IE cannot download files over a SSL connection but if you try with any other browser, it will work perfectly.
There are fixes but they fix that specific system by editing the registry key.
My problem is that I would like to fix it on server side so I dont need to worry about what system I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.