> middleware is called *before* web.ctx is set up, so doing it that way > meant I would have had to make my own version of threadeddict()
Oops, I should have written just "my own threadeddict()", I could just use web.py's implementation, of course. In fact, that would be one fairly simple way around the problem, at least for session loading and saving. But still, the __init__ and close() thing is handy for other init/close type stuff, especially stuff that needs access to other web.ctx state variables. -Ben -- Ben Hoyt, http://benhoyt.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
