cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manfred.wei...@rzb.at
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
sessions,
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
xml.
By using the WriteDomSessionTransformer you can add this XMLpart to your
http session on your cocoon machine, and reuse it with the
ReadDomSessionTransformer.

Maybe this workaround helps!

cheers
manfred





nesto11@libero.it am 11.02.2003 16:37:34

Bitte antworten an cocoon-users@xml.apache.org@inet

An:      cocoon-users@xml.apache.org
Kopie:
Thema:   Session managing problem



Hi!

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
database.
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"/>
   </map:act>
</map:match>

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
sessionstate.
But the problem is that I really haven't understand  how I can use them.

Thanks for your answers!

Nesto










---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message