[Zope] Core Session Tracking kudos & namespaces

Dieter Maurer dieter@handshake.de
Wed, 3 Jan 2001 22:50:58 +0100 (CET)


Chris McDonough writes:
 > ....
 > Currently, nothing would be acquired, and the <dtml-var a> call will fail
 > inside of a "with sessiondatamanager" even if we did have a __getattr__
 > interface to session data objects....
Are you sure?

As I understand it, at least a

   <dtml-with "sessionDataManager.getSessionData()">

would make available all session data keys as variables,
if they had a "__getattr__".

If they had a "__getitem__" (maybe, the available "get" is
already sufficient), then


   <dtml-with "sessionDataManager.getSessionData()" mapping>


would do the trick.


Dieter