Hi,

Thanks for that... Even if, I do not really understand why the client browser is detecting a change in the hostname as I am using relative URL path!!!

Is there any way to fix that issue?
Can I force when constructing the URL to add jsessionid=.....

Thanks.
DvJ

From: Howard Lewis Ship <[EMAIL PROTECTED]>
Reply-To: Howard Lewis Ship <[EMAIL PROTECTED]>
To: Tapestry users <[email protected]>
Subject: Re: Tapestry RedirectException & Apache ProxyPass
Date: Mon, 9 May 2005 09:27:07 -0400

Likely culprit is that the client web browser sees a change of host
name and stops sending the jsessionid cookie.

On 5/8/05, david joffrin <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I am facing a pretty sad thing, but I think I am loosing (kind of) the
> session when doing a Tapestry RedirectException.
>
> My set-up is an apache server that redirects to my JBOSS instance as follow:
> ProxyPass /sudetp http://www.bidnplay.com:8080/sudetp
> ProxyPass / http://www.bidnplay.com:8080/sudetp
> ProxyPassReverse / http://www.bidnplay.com:8080/sudetp
>
> I have some pages that are having member restricted areas and I used the
> Visit class (of course).
> One of my page implements a RedirectException as follow:
> IEngineService service = cycle.getEngine().getService(
> Tapestry.EXTERNAL_SERVICE);
> ILink link = service.getLink(cycle, cycle.getPage(), new Object[] {
> "BrowseOverview", new Integer(getCurrentCategoryId()) });
> throw new RedirectException(link.getURL());
>
> But if the user was logged in before, after the redirect, he is not
> anymore!!!
>
> Any idea why?
>
> Thanks.
> David.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
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