On Tuesday, September 8, 2015 at 1:19:43 PM UTC-4, Bert JW Regeer wrote: > > Why? > > Registering a new session factory is easy, and allows it to be reused > easily in other applications that already use request.session.
Registering a new session factory is easy once you have a bit of experience with pyramid. It can be a bit overwhelming to a new set of eyes. The OP wasn't familiar enough with Pyramid to see all the docs on custom factories, and spoke of "hooks" to handle a certain need. Seeing up a proxy method is a simple short-term solution that can be implemented in a few minutes. Once someone is familiar enough with Pyramid, it's also extremely simple to migrate to a custom factory. -- 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 pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.