OK. redis_key = pyramid.session.signed_deserialize(COOKIE_VALUE, SECRET)
Works. I'll just need to write a script to dump the session. On Tue, Dec 23, 2014 at 1:30 PM, Jonathan Vanasco <[email protected]> wrote: > Yeah, it's because the cookievalue is signed: > > > https://github.com/ericrasmussen/pyramid_redis_sessions/blob/master/pyramid_redis_sessions/__init__.py > > Using the pyramid functions by default, which serializes to b64: > > > https://github.com/Pylons/pyramid/blob/master/pyramid/session.py#L47-L103 > > IIRC, the easiest ways would be something like > > * an admin page that accepts a signed cookie, deserializes it, and looks up > the value (displaying it) > * an admin page that lists the signed cookies, along with their "session_id" > * a script that does the above > > -- > 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. -- Mike Orr <[email protected]> -- 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.
