[Zope] Delete value from REQUEST

Mauricio Souza Lima mauricio.lima at varig.com
Thu Jan 22 09:19:02 EST 2004


Try to put it in a Python Script just as this:

request = context.REQUEST
response = request.RESPONSE
response.expireCookie(item)

reply if it works or not.

[]´s

--
Mauricio Souza Lima
Web Developer
VARIG Brasil - GGTI
mauricio.lima at varig.com

> -----Original Message-----
> From: Ashley Lloyd [mailto:ashleylloyd at hotmail.com]
> Sent: Thursday, January 22, 2004 8:29 AM
> To: mauricio.lima at varig.com; zope at zope.org
> Subject: RE: [Zope] Delete value from REQUEST
>
>
> Sorry, I had removed it and was hoping it wasn't going to be important, I
> got an AttributeError:
>
> 'Traceback (most recent call last):\n', ' File "C:\\Program
> Files\\ESOPPlone\\Data\\Extensions\\externalMethods.py", line 172, in
> removeRequest2\n del REQUEST.form[item]\n', ' File "C:\\Program
> Files\\ESOPPlone\\Zope\\lib\\python\\ZPublisher\\HTTPRequest.py",
> line 1194,
> in __getattr__\n raise AttributeError, key\n', 'AttributeError:
> expireCookie\n'
>




More information about the Zope mailing list