Hi,

I need to be able to invalidate sessions programmatically to log a user out
of our system. Does the following look like a reasonable implementation for
the invalidate method in the Session class?

 def invalidate(self):
  ''' Invalidates the session. '''
  self._lastAccessTime = 0
  self._values={}

Or am I missing something big?

Regards,

David O'Callaghan

--
"And that no man might buy or sell, save he that had the mark,
 or the name of the beast, or the number of his name."
        --Microsoft Passport EULA / Revelations 13:17



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to