[Zope] CoreSessionTracking - looping over items
Pawel Lewicki
lewicki@provider.pl
Mon, 23 Jul 2001 23:49:21 +0100
----- Original Message -----
From: "Chris McDonough" <chrism@digicool.com>
To: "Pawel Lewicki" <lewicki@provider.pl>; <zope@zope.org>
Sent: Monday, July 23, 2001 10:22 PM
Subject: Re: [Zope] CoreSessionTracking - looping over items
> Hi Pawel,
>
> PythonScripts, like DTML, can't access attributes of objects which start
> with an underscore. Please read this HowTo in order to understand how to
> use external methods:
> http://www.zope.org/Documentation/How-To/ExternalMethods .
>
> As far as returning the whole _sdc object for use in DTML, do this:
>
> def getInternalSessionDataContainer(session_data_manager):
> return session_data_manager._sdc
>
> <dtml-with "getInternalSessionDataContainer(session_data_manager)">
> ...
> </dtml-with>
>
> ... where session_data_manager is the session data manager you're using.
>
> HTH,
Everything is working now, but I still don't know how to make a loop over
sessions. I have a container. What should I put into <dtml-in> tag?
Pawel