def beak_session_mw(app):
  options = {'session.type':'cookie',
  'validate_key':'water',
  'cookie_expires':False,
  'key':'bt',
  'cookie_domain':'.appsite.com'
  }
  return SessionMiddleware(app, **options)

app = web.application(urls, globals())
app.notfound = notfoundsearch
if __name__ == '__main__':
  app.run(beak_session_mw)


so this is how i usually run

now how do i run beaker in wsgifunc mode to use beak_session_mw

application = web.application(urls, globals()).wsgifunc()

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