Why? Registering a new session factory is easy, and allows it to be reused easily in other applications that already use request.session.
> On Sep 8, 2015, at 10:55, Jonathan Vanasco <[email protected]> wrote: > > Actually, I had an easier idea... > > Just use `add_request_method` to create a new `request.session_proxy` > function. instead of calling `request.session`, just do all the operations > on `request.session_proxy` -- which just proxies responses to the > request.session object and alters it as you wish. > > -- > 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. -- 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.
smime.p7s
Description: S/MIME cryptographic signature
