Package buildbot :: Package status :: Package web :: Module session :: Class SessionManager
[frames] | no frames]

Class SessionManager

source code

object --+
         |
        SessionManager

I'm the session manager. Holding the current sessions managing cookies, and their expiration

KISS version for the moment:

The sessions are stored in RAM so that you have to relogin after buildbot reboot

Old sessions are searched at every connection, which is not very good for scaling

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
new(self, user, infos) source code
 
gc(self)
remove old cookies
source code
 
get(self, cookie) source code
 
remove(self, cookie) source code
 
getUser(self, user) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)