cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: i18n cookies storing path
Date Fri, 07 Jan 2011 17:02:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johan,

On 1/7/2011 5:45 AM, Johan Cwiklinski wrote:
> Le 07/01/2011 11:24, Laurent Medioni a écrit :
>> Strictly match, at the beginning of the pipeline, "" (or "/", I never remember...)
and call the LocaleAction only there. Then end the matcher just after without response.
>> This will work if your users always start browsing your application through ".../myapp/",
typically just after login as a homepage.
>>
>> Now if you cannot be sure of this then, yes, something similar to the proposed patch
in COCOON-1592 will enable you to set a "root" cookie from any subpath...
> 
> I cannot be sure where users will start browsing unfortunately. I'll
> take a look at the proposed patch ; thank you for the clarifications :)

If you're willing to write a bit of Java code, you can do this easily
using a "servlet filter".

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0nRxYACgkQ9CaO5/Lv0PAt3QCbBb3cyvUN51n2kPb3QD01GgK7
9yMAoIYcJONG4tZg36bhuun2Tcz3HpbT
=o9yo
-----END PGP SIGNATURE-----

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


Mime
View raw message