web.web.session.ShelfStore

Package web :: Package web :: Module session :: Class ShelfStore |
[hide private]
[frames] | no frames]

# Class ShelfStore

source code

    Store for saving session using `shelve` module.

        import shelve
        store = ShelfStore(shelve.open('session.shelf'))

    XXX: is shelve thread-safe?

Instance Methods | [hide private]
__init__(self, shelf) | source code
__contains__(self, key) | source code
__getitem__(self, key) | source code
__setitem__(self, key, value) | source code
__delitem__(self, key) | source code
cleanup(self, timeout) | source code