cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Schrijver" <>
Subject RE: JSession and session timout
Date Mon, 13 Mar 2006 14:50:53 GMT
hhmmzz.. better mnake that cookies DISABLED....
No use for encodeUrl with cookies enabled...

-----Oorspronkelijk bericht-----
Van: Mark Schrijver []
Verzonden: maandag 13 maart 2006 15:47
Onderwerp: JSession and session timout

When I have a session and I have cookies enabled, I need to use the enableUrl transformer
to encode the jsessionid into my url. This all works perfectly.
I have a problem when the session times out hoewever.
When I have a link on my page, which has the jsession encoded into it, and I wait for the
session timeout, something strange happens.
When I click the link, the following appears in the addressbar:
http://localhost/mobile/showPost?postId=136 <http://localhost/mobile/showPost?postId=136&amp;amp;amp;amp;jsessionid=A4DB7C3DA444DDC50D751E2158D7DE86&amp;amp;amp;jsessionid=FF6A9C18EA8AA68A6B4B36E4E91B314E&amp;amp;jsessionid=B9CB0D30704799F7A4326A25BAA791A2&amp;jsessionid=1FBD4859F1EEF875B5EB10410A09D35F>
The problem here is that I start each page by calling an action which inserts the sessionId
into the database. with this URL however, the sessionId is calculated to: A4DB7C3DA444DDC50D751E2158D7DE86&amp;amp;amp;jsessionid=FF6A9C18EA8AA68A6B4B36E4E91B314E&amp;amp;jsessionid=B9CB0D30704799F7A4326A25BAA791A2&amp;jsessionid=1FBD4859F1EEF875B5EB10410A09D35F
Does anyone have any idea how to solve this problem?

-----Oorspronkelijk bericht-----
Van: []Namens Jean-Claude Moissinac
Verzonden: maandag 13 maart 2006 15:15
Onderwerp: File generator and parameters


I'm working on a site which allows to process some external pages

I call something like:
and which is matched by a pipeline like this
        <map:match pattern="process1/**/*">
            <map:generate  src="http://{1}/{2}"/>
            <map:transform type="myTransform"/> 
            <map:serialize type="xml" />

which works fine if the URL has no parameters
but if the called URL has parameters, the generator seems to ignore it.
If the request is 
I would like that the generator uses
as his src
Is there a solution to do it?

Jean-Claude Moissinac
Department of Computer Science and Networks
ENST Paris

Tel: (+33)
Fax: (+33) 

View raw message