On Tuesday 26 November 2002 18:11, Tony McDonald wrote:
On 25/11/02 6:12 pm, "Chris McDonough" <chrism@zope.com> wrote:
See the help system.
Ahhh.. yes - should have dug into it in more detail I guess (spent my time digging around in the source and missed it).
The interface for the TransientObjectContainer is the interface for the temp_folder/session_data object.
Yup. For those looking around, it's Help, Zope Help, API reference, Transient Objects.
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.
Great Chris, many thanks. With that I should be able to dig around a bit and see what comes up.
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).
It's ok, I've had my shots!
Many thanks. Tone.
i've had bad luck with iterating temp_folder/session_data and session i got key errors that can only be rectified only by changing something in session-data, or resetting zope. it's probably me more than zope. so, please tell me if you got better luck :P http://zope.nipltd.com/public/lists/zope-archive.nsf/Main/D120D8D0B1CC81C380256C4800238D47?OpenDocument&mode=subject&topic=[Zope]sessionanditeratingsession_data http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/EE5D11EB492DADF7 -- http://www.kedai.com.my/ http://www.kedai.com.my/eZine http://www.zope.org/Members/kedai http://www.my-zope.org Am I Evil?