I have a session_maker at the g instance that hands out sessions and
stores a reference to them at c.  Then, on the __after__ I close out
the c.session with:

if c.session:
  c.session.close()


This works great, except when I get a 500 error.  The __after__ call
fires, but the c.session is no longer detected.

Any suggestions?

Thanks,
Charles
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to