Exemple #1
0
    def build_session_key(cls, session_key):
        if type(session_key) is str:
            return session_key

        # Prepend session prefix
        session_prefix = SessionPrefix.get()

        return '%s:%s' % (session_prefix, session_key)
Exemple #2
0
    def build_session_key(cls, session_key):
        if type(session_key) is str:
            return session_key

        # Prepend session prefix
        session_prefix = SessionPrefix.get()

        return '%s:%s' % (
            session_prefix,
            session_key
        )
    def on_starting_plugins():
        log.debug('on_starting_plugins')

        SessionPrefix.increment()
Exemple #4
0
    def on_starting_plugins():
        log.debug('on_starting_plugins')

        SessionPrefix.increment()