cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Antwort: Session managing problem
Date Tue, 11 Feb 2003 15:58:17 GMT

Hi Nesto!

you are talking about two different user sessions. The first client is the
UI (IE),
the server is the Webapp Server running cocoon which becomes the client for
the server remoteHost on port 8080.

AFAIK there is no (standard) way to merge two (or more) different http
but if you are able to modify the jsps, then you can fill in the needed
sessioninformation by converting it to XML and add it to the rest of your
By using the WriteDomSessionTransformer you can add this XMLpart to your
http session on your cocoon machine, and reuse it with the

Maybe this workaround helps!

manfred am 11.02.2003 16:37:34

Bitte antworten an

Thema:   Session managing problem


I have a problem with the session  managing.
I'm trying to write a user interface of an  existing system using cocoon as
publishing framework.
The system is composed of a set of JSPs that  generates xml data from a
So the pipelines in the sitemap I wrote are  all of this type:

<map:match pattern="*.jsp">
   <map:act  type="request">
     <map:parameter  name="parameters" value="true"/>
     <map:generate  type="file" src="http://remoteHost:8080/remoteApp/
{../1}.jsp{requestQuery}"  mime-type="text/xml"/>
     <map:transform  src="stylesheets/{../1}.xsl"/>
     <map:serialize  type="xhtml"/>

The REMOTE application manage itself the  user sessions, but i don't how i
have to modify my sitemap in order to let  client and the remote
application exchange session informations.
In this moment the presence of Cocoon between  client and Remote App causes
the loss of session information (accessing through  IE directly, I can see
the correct xml data)

I read the documentation on Cocoon site, and on  Wiki, and I found
something that looks interesting: the matchers of type cookie  and
But the problem is that I really haven't understand  how I can use them.

Thanks for your answers!


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message