Hi,
I've been using urlEncode without authentication with success.
However, I'm currently implementing authentication and I hope I won't be
getting the bugs you are having. 
I guess someone else will be able to help you.

Cheers
Héryk


-----Message d'origine-----
De : Christoph Hermann [mailto:[EMAIL PROTECTED]
Envoyé : lundi 13 décembre 2004 09:23
À : [EMAIL PROTECTED]
Objet : Re: Basic Session and encode-url example


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julien, Heryk schrieb:

Hello,

>> i'm trying to get a very simple session example working with cocoon,
>> but when i turn cookies off my session is lost even when i use
>> <map:transform type="encodeURL"> in my sitemap.

>> Can you give me any hints why this (encodeurl) is not working? The
>> Coocoon examples (portal-fw) or my self-made authentication example
>> work with encodeURL (when i'm logged in).

>> Any Hint on what i'm doing wrong would really be appreciated.

> You could try this:
> 1. Did you add the transformer declaration in the sitemap?
>
> <map:transformer name="encodeURL"
> src="org.apache.cocoon.transformation.EncodeURLTransformer">
>   <!-- default configuration, explicitly defined -->
>   <include-name>.*/@href|.*/@action|frame/@src</include-name>
>  
> <exclude-name>img/@src|(a/@href|iframe/@src)=.*adserver</exclude-name>
> </map:transformer>

Even when i put this in the sitemap nothing changes.
My pages are in a subdir of the cocoon "samples" directory and the 
portal-fw example i.e. is working fine. Also if i add some sort of 
authentication it works _after_ i'm logged in.

> 2. Restart your browser once you turned your cookies off?

That did not help either :/

What i don't understand is that the encodeURL is working when i use 
authentication, but it is not working without.

Thanks for your help anyway
Christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBvaW9H8qhdtR4sUIRAuwqAJ48axGw1HYMwAFRQ9cft8IfoJtBPgCfZaV9
cyUdpMdyh0gEJWUG/jn8Wfo=
=5g6I
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to