[Zope] CoreSessions object deletion

Chris McDonough chrism@zope.com
Wed, 5 Dec 2001 13:34:24 -0500


session.delete is the right way to delete something from a session
data object.  As long as the data container is implemented in terms of
ZODB (ala an External Data Container) and it returns the same sort of
SessionData objects, .delete() should be fine.

----- Original Message -----
From: "Frank Tegtmeyer" <fte@lightwerk.com>
To: <zope@zope.org>
Sent: Wednesday, December 05, 2001 1:05 PM
Subject: [Zope] CoreSessions object deletion


> A short question:
>
> is it safe to use session.delete(key)?  I saw it somewhere and
because
> the interface doesn't include any description for deletion of
objects
> in the container it may be the standard way.
> Are there any problems to expect if another Datamanager
implementation
> (besides the RAM based one) is used?
>
> Regards Frank
> --
> CTO   fte@Lightwerk.com         http://www.Lightwerk.com/
> Fax: +49-2434-80 07 94           Phone: +49-2434-80 07 81
> Lightwerk GmbH * An der Kull 11 * 41844 Wegberg * Germany
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>