RE: [Zope] Clearing _v_ attributes
That's what I thought. Thanks a lot ! -----Message d'origine----- De : zope-bounces@zope.org [mailto:zope-bounces@zope.org]De la part de Toby Dickenson Envoyé : mercredi 19 janvier 2005 13:46 À : zope@zope.org Objet : Re: [Zope] Clearing _v_ attributes On Wednesday 19 January 2005 11:51, Andrew Milton wrote:
+-------[ Pascal Peregrina ]---------------------- | If I do a clearCaches() method that clears _v_ attributes on the object,
how
| can I make sure it will clear these attributes in all the Zope connections | that may have a cached copy of the object ?
Basically you can't.
There is one very obvious way.... change a non-_v_ attribute of the object and commit it. Every other connection with an instance of that object in memory will lose the _v_ attribute at its next transaction boundary. -- Toby Dickenson _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
participants (1)
-
Pascal Peregrina