Hi All,
I would like to ask you some advices about crossContext.

I have two webapps A and B. In A I have a filter that does:

       RequestDispatcher rd;
       rd = context.getContext("/B").getRequestDispatcher("/somepath");
       rd.forward(request, response);

in order  to forward the request to B.
In A I set crossContext="true".

All works fine, but I would like to improve session handling. Basically I would like to close session in A when the session is closed in B (that is the real application that handles the session).

PS: I saw the sessionId is the same through both applications

What about using a session listener ? At the moment it's the only idea I have.

cheers and thanks
ste

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to