[Zope] setCookie

sebastiaan_schimmel@planet.nl sebastiaan_schimmel@planet.nl
Tue, 07 May 2002 13:14:24 -0400


------=_Part_2526_5014670.1020791632945
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I want to set a cookie with the username of the visitor of my site using:
<dtml-call "REQUEST.setCookie('username', '<dtml-var unaam>')">
but it doesn't set the cookie. I've tried several things and i've read the zope book pdf file and done it like it says in the book but it still doesn't work. The cookie exists i checked that with <dtml-if username> but when i try <dtml-var username> it doesn't display the username. How do i set the cookie in dtml or python and how do I get the data out of the cookie?

thanks,

Sebastiaan Schimmel
sebastiaan_schimmel@planet.nl
------=_Part_2526_5014670.1020791632945--