Re: [Zope] Using cookies with Zope products.
29 Dec
1999
29 Dec
'99
3:35 a.m.
Andrew Lahser wrote I am trying to set and get a cookie from a Zope product. Do I need to pass in the REQUEST to get at the cookies and the response? If the answer is yes, then why does the tree tag not have to pass in the REQUEST?
The tree tag is a tag, not a product instance. It's 'render' method gets the current namespace dictionary when called, and it looks up the value of 'REQUEST' and 'RESPONSE' from that. tags behave differently to products... for further reading, look at lib/python/TreeDisplay/TreeTag.py Anthony
9594
Age (days ago)
9594
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anthony Baxter