[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:36:49 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#3-435

---------------

      The response will include an HTTP header that will remove the cookie
      corresponding to "name" on the client, if one exists. This is
      accomplished by sending a new cookie with an expiration date
      that has already passed. Note that some clients require a path
      to be specified - this path must exactly match the path given
      when creating the cookie. The path can be specified as a keyword
      argument.

        % jmunoz - Oct. 18, 2002 1:28 pm:
         "The path can be specified as a keyword argument"

         How ?

        % jmunoz - Oct. 18, 2002 1:36 pm:
         Looking the sources..

         Example in DTML:

         <dtml-call expr="RESPONSE.expireCookie('__ac_user', path='/')">