[Zope-dev] CoreSessionTracking

Chris Withers chrisw@nipltd.com
Mon, 23 Apr 2001 16:57:00 +0100


Chris McDonough wrote:
> 
> Alternately (and this will be in the next CST release), add this to the
> session data object class (SessionData.SessionData):
> 
> __guarded_setitem__ = __setitem__

OK, that'll teach me to read the whole thread before I post :-)

> As far as finding the currently logged in user's name, try this:
> 
> context.REQUEST['AUTHENTICATED_USER'].getUserName()
> 
> This is a deprecated API, however.  The new one I can't find at the moment,
> though.  ;-)

When you find out, can you let us know :-S

Chris