I don't know much about the cookie stuff, but if your namespace declaration is 
xmlns:xsp-response="http://apache.org/xsp/response/2.0";, then your xml should look 
like:

<xsp-response:add-cookie>
</xsp-response:add-cookie>


DR


At 10:11 AM 12/6/01 +0100, you wrote:

>I'm trying to have Cocoon2 set cookies.
>On the devel list I found this example:
>
><response:add-cookie>
>         <cookie:create name="cookie">
>                 <value>Test Value</value>
>                 <cookie:set-comment>
>                         <purpose>Test Cookie</purpose>
>                 </cookie:set-comment>
>         </cookie:create>
></response:add-cookie>
>
>...but I can't get it to work.
>
>Is the namespace header
>xmlns:xsp-response="http://apache.org/xsp/response/2.0";
>the correct one in this case?
>
>regards,
>Rune,
>Klapp Media,
>Trondheim, Norway
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to