Got it working
Maybe this should have been obvious, but to me it wasn't...
application = web.application(urls, globals()).wsgifunc()
app = web.application(urls, locals())
session = web.session.Session(app,
web.session.DiskStore('/home/foob/wsgi_test/sessions'),
initializer={'count': 0})
On Jul 19, 12:10 am, foobarmus <[EMAIL PROTECTED]> wrote:
> Sorry, I couldn't find anything on this at a level I could
> understand... Is there some trick to getting session.py working with
> wsgi? My error, from a modified version of the session example in the
> cookbook, is:
>
> AttributeError: 'function' object has no attribute 'add_processor'
>
> I'm hitting the same error with my main app as well, so I think I must
> be getting close to having it all working.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---