[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference
webmaster@zope.org
webmaster@zope.org
Fri, 18 Oct 2002 13:27:23 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#3-417
---------------
The response will include an HTTP header that sets a cookie on
cookie-enabled browsers with a key "name" and value
"value". This overwrites any previously set value for the
cookie in the Response object.
% Anonymous User - May 1, 2002 6:59 am:
great, but where is the getCookie method? In particular how do I force it to look for a key in the cookie, as
opposed to the headers or elsewhere?
% Anonymous User - May 7, 2002 7:29 pm:
apparently you may reference cookies like any other dtml variable, but within dtml. still trying to figure
out how to reference dtml variables within python
% Anonymous User - May 30, 2002 5:09 pm:
You *get* cookies from the REQUEST, not the RESPONSE.
% Anonymous User - June 14, 2002 12:48 pm:
To reference a dtml variable called 'test', within python:
request = container.REQUEST
RESPONSE = request.RESPONSE
test = request.test
% Anonymous User - Sep. 12, 2002 1:50 pm:
There are many examples in Zope using a 'path' parameter for setCookie. Is this a valid parameter and if so,
what is it for?
% jmunoz - Oct. 18, 2002 1:27 pm:
What is the usage of the keyword arguments ?