[Zope] Session cleaning

Richard Wesley hawkfish@electricfish.com
Thu, 4 Apr 2002 11:39:27 -0800


How do I remove a key from a session object?  If I try this:

if SESSION.has_key('key'):
	del SESSION['key']

I am told that SESSION does not support slicing.

TIA,
- rmgw

http://www.electricfish.com/hawkfish/

----------------------------------------------------------------------------
Richard Wesley           Electric Fish, Inc.       hawkfish@electricfish.com

"They have forgotten the simplest of pleasures - that of the child and
   the unopened box." - Dukat in "Babylon 5: Atonement"