You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kamal Bhatt <bh...@tt.com.au> on 2009/11/04 03:07:48 UTC
URL rewriting
Hi,
We are having troubles with session cookies and Cocoon Forms in Cocoon
2.1.x. As such, we need URL rewriting to handle state.
Is there some action/serializer/transformer that converts all links to
specify the session ID if they originate from the same URL?
Thanks.
--
Kamal Bhatt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: URL rewriting
Posted by Alexander Daniel <al...@gmx.at>.
On 06.11.2009, at 01:41, Kamal Bhatt wrote:
> Thanks. Is there an input module that specifies the session ID?
If the session ID is in a cookie you can use the cookie input module
[1].
[2] describes that the RequestModule supports requestedSessionId,
requestedSessionIdFromCookie, requestedSessionIdFromURL and
requestedSessionIdValid.
Alex
[1] http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html
[2] http://wiki.apache.org/cocoon/InputModules
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: URL rewriting
Posted by Kamal Bhatt <bh...@tt.com.au>.
Thanks. Is there an input module that specifies the session ID?
> Hi Kamal,
>
> Luca Morandini wrote:
>> The LinkRewriter transformer seems a good start (it should work for
>> 2.1 as well):
>> http://cocoon.apache.org/2.2/blocks/linkrewriter/1.0/1354_1_1.html
>
> Don't be put off by apparent lack of content in the link Luca
> mentioned.... if you click on the edit link you eventually get to the
> not so public page which I updated a while ago but haven't published
> yet (I really must get around to it sometime!) which actually contains
> real substance... [1]
>
> Regards,
> David Legg
>
> [1]
> http://cocoon.zones.apache.org/daisy/cdocs/g1/g2/g9/g1/Transformer/1102.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Kamal Bhatt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: URL rewriting
Posted by David Legg <da...@searchevent.co.uk>.
Hi Kamal,
Luca Morandini wrote:
> The LinkRewriter transformer seems a good start (it should work for
> 2.1 as well):
> http://cocoon.apache.org/2.2/blocks/linkrewriter/1.0/1354_1_1.html
Don't be put off by apparent lack of content in the link Luca
mentioned.... if you click on the edit link you eventually get to the
not so public page which I updated a while ago but haven't published yet
(I really must get around to it sometime!) which actually contains real
substance... [1]
Regards,
David Legg
[1]
http://cocoon.zones.apache.org/daisy/cdocs/g1/g2/g9/g1/Transformer/1102.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: URL rewriting
Posted by Luca Morandini <lm...@ieee.org>.
On 04/11/09 03:07, Kamal Bhatt wrote:
> Hi,
> We are having troubles with session cookies and Cocoon Forms in Cocoon
> 2.1.x. As such, we need URL rewriting to handle state.
>
> Is there some action/serializer/transformer that converts all links to
> specify the session ID if they originate from the same URL?
The LinkRewriter transformer seems a good start (it should work for 2.1 as well):
http://cocoon.apache.org/2.2/blocks/linkrewriter/1.0/1354_1_1.html
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org