On Sat, Nov 1, 2008 at 8:39 PM, Anand Chitipothu <[EMAIL PROTECTED]>wrote:

>
> > how do i add middleware to subdomain apps?
>
> Using application processors.
>
> http://webpy.org/cookbook/application_processors




#in subdomain app:
from beaker.middleware import SessionMiddleware
def beak_session_mw(app):
    return SessionMiddleware(app, **options))

app = web.application(urls, globals())
app.add_processor(beak_session_mw)

this does not work...

can you tell what i am doing wrong..
is application processor different from middleware?

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

Reply via email to