[Zope] delete a variable from REQUEST

Tino Wildenhain tino at wildenhain.de
Mon Sep 29 04:06:30 EDT 2008


Hi,

indrajit926 indra wrote:
> Hi All,
> 
> Iam relatively new to zope.
> 
> I want to delete a variable and it value from REQUEST.I used python 
> pop() and __delattr__() ,but getting attribute error.

Actually you can't. (Not without writing a product in filesystem
and getting deep into zope). Why would you?

What you could do is to update one of the requests namespace to
give the variable a new value.

Regards
Tino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.zope.org/pipermail/zope/attachments/20080929/3ee096c8/attachment.bin 


More information about the Zope mailing list