On Dec 13, 2007 10:28 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> ...And evidently I get new problem: how to access session from  that
> CustomURLParser.__call__() method defined in middleware?
>

I think you're better off with a custom controller superclass than
middleware; then you can have access to all the stuff you're used to from a
controller, including session, c, g, h, etc.

--~--~---------~--~----~------------~-------~--~----~
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