Hi,

On one hand to write a pyramid_session_foo is not very difficult, on the 
other hand beaker seems to be impossible to maintain and nobody seems to 
want to do any pyramid_session_foo. For newcomer it's a little bit 
ambiguous to see that the recommended session manager are redis or an 
unmaintained beaker.

I'd like to see how could look pyramid_redis_session if it use 
SignedCookieSessionFactory. I mean, i'd like to see examples of custom 
session with the help of this new class.

For example, what is better ? to write a serializer like 
https://gist.github.com/mmerickel/8035611 (but we have a little problem 
with the ID)

or to make a new factory which use a signedcookie like 
https://github.com/Pylons/pyramid/pull/1142
def FileBasedSessionFactory(base_path, secret, cookie_name, **kwargs):
    session_cookie_factory = SignedCookieSessionFactory(secret, cookie_name, 
**kwargs)

    class FileSession(dict):
        def __init__(self, request):
            self.cookie = session_cookie_factory(request)
    ...

thanks for your advices

-- 
William

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to