[Zope] CoreSessionTracking - looping over items

Pawel Lewicki lewicki@provider.pl
Tue, 24 Jul 2001 00:09:30 +0100


----- Original Message -----
From: "Chris McDonough" <chrism@digicool.com>
To: "Pawel Lewicki" <lewicki@provider.pl>; <zope@zope.org>
Sent: Tuesday, July 24, 2001 12:01 AM
Subject: Re: [Zope] CoreSessionTracking - looping over items


> It depends what you want to do with each object, but for instance in order
> to show the last accessed time for each data object, do this:
>
> <dtml-in "getInternalSessionDataContainer(session_data_manager)" mapping>
>    <dtml-var getLastAccessed>
> </dtml-in>

Of course it was the first thing to try, but after simple:
<dtml-in "getInternalSessionDataContainer(session_data_manager)" mapping>
</dtml-in>

I got zope error:
Error Type: KeyError
Error Value: 0

Pawel