You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Uwe Gerger <Uw...@bmw.de> on 2003/07/27 15:38:43 UTC

Session object

Hello,
I have two web applications one implemented with Struts and the second
is Cocoon. Struts invokes Cocoon by an URL and i want to access some
data in cocoon stored in the session object by struts. How can I do
that? Should I append the session Id as a parameter to the request and
then using the request generator I can access the session by using the
session id?

Thanks
-- 
Uwe Gerger                                _/_/_/   _/    _/  _/    _/
BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
mailto:Uwe.Gerger@bmw.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


AW: Session object

Posted by Marco Rolappe <m_...@web.de>.
hi uwe,

according to the servlet spec two distinct web applications means two
distinct servlet contexts. you don't have access from one servlet context to
another servlet context's sessions.

one possibility would be to have both servlets running in the same servlet
context, so you could exchange data directly through the session. another
possibility is to transport the data via request parameters.

> -----Ursprungliche Nachricht-----
> Von: users-return-53491-m_rolappe=web.de@cocoon.apache.org
> [mailto:users-return-53491-m_rolappe=web.de@cocoon.apache.org]Im Auftrag
> von Uwe Gerger
> Gesendet: Sonntag, 27. Juli 2003 15:39
> An: users@cocoon.apache.org
> Betreff: Session object
>
>
> Hello,
> I have two web applications one implemented with Struts and the second
> is Cocoon. Struts invokes Cocoon by an URL and i want to access some
> data in cocoon stored in the session object by struts. How can I do
> that? Should I append the session Id as a parameter to the request and
> then using the request generator I can access the session by using the
> session id?
>
> Thanks
> --
> Uwe Gerger                                _/_/_/   _/    _/  _/    _/
> BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
> 80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
> Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
> Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
> mailto:Uwe.Gerger@bmw.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org