Package ccm :: Module extra :: Class CachedSessionProvider |
[hide private]
[frames] | no frames]

# Class CachedSessionProvider

source code

    SessionProvider --+
                      |
                     CachedSessionProvider

<sessions>
  <session database="foobar" ccmaddr="xxxx"/> <session database="foobarx" ccmaddr="xxxx"/>

</sessions>

Instance Methods | [hide private]
__init__(self, opener=None, cache=None) Creates CachedSessionProvider, with a specific opener and cache file. | source code
close(self) Closing the SessionProvider. | source code
save(self) | source code
load(self) | source code
get(self, username=None, password=None, engine=None, dbpath=None, database=None, reuse=True) | source code
free(self, session) | source code
Inherited from `SessionProvider`: `__del__`

Method Details | [hide private]

### __init__(self, opener=None, cache=None) (Constructor) | source code
Creates CachedSessionProvider, with a specific opener and cache file. Overrides: SessionProvider.__init__

### close(self) | source code
Closing the SessionProvider. Overrides: SessionProvider.close

### get(self, username=None, password=None, engine=None, dbpath=None, database=None, reuse=True) | source code
Overrides: SessionProvider.get