[Zope] Problems with setCookie

Vahur Rebas vahur at tpu.ee
Thu Aug 26 11:52:23 EDT 2004


jens.walte at kk.net wrote:

>Hello,
>
>the following source should set 3 values to a cookie:
>
><dtml-call "RESPONSE.setCookie('test1', 'value1', path='/', expires='Wed, 20 Feb 2020 20:00:00 GMT')"> 
><dtml-call "RESPONSE.setCookie('test2', 'value2', path='/', expires='Wed, 20 Feb 2020 20:00:00 GMT')"> 
><dtml-call "RESPONSE.setCookie('test3', 'value3', path='/', expires='Wed, 20 Feb 2020 20:00:00 GMT')"> 
>
>but after this there's only one value in the cookie! (normaly 'value3'?)
>
>Does anybody knows the reason?
>
>  
>
Just a wild guess but I think you're creating 3 different cookies - 
test1, test2 and test3 as cookie names


Vahur




More information about the Zope mailing list