See the help system. The interface for the TransientObjectContainer is the interface for the temp_folder/session_data object. It also supports the (undocumented) items, values, and keys methods, which act just like the dictionary methods of the same name. The keys are the browser ids and the values are the session objects. This has not been exposed in the interface because the data container was never meant to be used this way, but you can do so (caveat emptor). On Mon, 2002-11-25 at 09:57, Tony McDonald wrote:
Hi all, I'd like to iterate over all transient objects and SESSION variables held in those transient objects on our server. That is all the transient objects held in temp_folder/session_data.
Ideally I'd like to be able to access the variables in the same way that we access then now, ie <dtml-var "REQUEST['SESSION']['username']"> except it wouldn¹t happen that way would it :)
Any snippets around to show how to do this?
TIA for any pointers Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
_______________________________________________ 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 )