[Zope] Iterating over objects in temp_folder/session_data

Bakhtiar A Hamid kedai@kedai.com.my
Wed, 27 Nov 2002 09:41:14 +0800


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 t=
ime
> 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 li=
ke
> > the dictionary methods of the same name.  The keys are the browser id=
s
> > and the values are the session objects.
>
> Great Chris, many thanks. With that I should be able to dig around a bi=
t
> and see what comes up.
>
> >This has not been exposed in
> > the interface because the data container was never meant to be used t=
his
> > 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=
=20
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/D120D8D0B1CC81C=
380256C4800238D47?OpenDocument&mode=3Dsubject&topic=3D[Zope]sessionandite=
ratingsession_data
http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/EE5D11EB492DAD=
F7

--

=09http://www.kedai.com.my/             http://www.kedai.com.my/eZine
=09http://www.zope.org/Members/kedai    http://www.my-zope.org
=09Am I Evil?