I don't know any reason why a redirect should be the cause of session "breaking", though I admit I haven't used a redirect from HTTP to HTTPS in the middle of a user's workflow (only at the very beginning -- by using the CONFIDENTIAL transport-guarantee in web.xml).

Is your test browser accepting cookies? Or, are your links generated in such a way (either with Struts tags, or by using response.encodeURL directly) that a session can be tracked without cookies?

Erik


Konstantina Stamopoulou wrote:

Hello evelyone,
I'm facing the following problem. I try to switch from http to https using
<forward> tags in the struts-config.xml

         <forward name="standard" redirect="true"
path="http://pc:8989/cdn-data-new/tvmode.jsp"/>
          <forward name="secure"  redirect="true"
path="https://pc:8989/cdn-data-new/tvmode.jsp"/>

In the Action class I use : return  mapping.findForward("standard");
Everything works fine up to here. When the redirection has been completed I
have lost the session.
At first I thought that switching form http to https and vice versa causes
the problem, but I noticed that the same thing happens when I use the same
protocol, http and use redirect.
It is a critical problem for my project and I would appriciated if you could
help me.

Thank you in advance
Konstantina


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to