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]

Reply via email to