Hello, As i know, there's always only one cookie for one url. And 'test1' is the key with it's value 'value1'. like: ----------------------- cookie-souce test_data1 "t1" xf130lg/ 1024 2778255872 30795568 2735860320 29657955 * test_data2 "t2" xf130lg/ 1024 2778255872 30795568 2735860320 29657955 * test_data3 "t3" xf130lg/ 1024 2778255872 30795568 2735860320 29657955 * ----------------------- the 'problem'-server only gets ----------------------- cookie-souce test_data3 "t3" xf130lg/ 1024 2778255872 30795568 2735860320 29657955 * ----------------------- with the same script... Thanks for help regards Jens Walte -------- Original Message -------- Subject: Re: [Zope] Problems with setCookie (26-Aug-2004 18:12) From: vahur@tpu.ee To: jw@obelix.bb.kk.net
jens.walte@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
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
To: vahur@tpu.ee Cc: zope@zope.org