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:
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&jsessionid=FF6A9C18EA8AA68A6B4B36E4E91B314E&jsessionid=B9CB0D30704799F7A4326A25BAA791A2&jsessionid=1FBD4859F1EEF875B5EB10410A09D35F
Does anyone have any idea how to solve this
problem?
Mark
-----Oorspronkelijk bericht-----Hello
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Namens Jean-Claude Moissinac
Verzonden: maandag 13 maart 2006 15:15
Aan: [email protected]
CC: [EMAIL PROTECTED]
Onderwerp: File generator and parameters
I'm working on a site which allows to process some external pages
I call something like:
http://mysite/processing/process1/an/external/url
and which is matched by a pipeline like this
<map:match pattern="process1/**/*">
<map:generate src=""/>
<map:transform type="myTransform"/>
<map:serialize type="xml" />
</map:match>
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
http://mysite/processing/process1/an/external/url?param=12
I would like that the generator uses
http://an/external/url?param=12
as his src
Is there a solution to do it?
--
--
Jean-Claude Moissinac
Department of Computer Science and Networks
ENST Paris
FRANCE
E-mail: [EMAIL PROTECTED]
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58
http://shadok.enst.fr/jcm
