I'm using the most current dev build and I'm having issues with
sessions after calling web.seeother.
Here's my code snippet:
app = web.application(urls, globals(), autoreload = True)
session = web.session.Session(app, web.session.DiskStore('sessions'),
initializer = {'logged_in': 0, 'username': ''})
class Test:
def GET(self):
session.logged_in = 1
raise web.seeother('/test1')
class Test1:
def GET(self):
return session
the problem is that /test1 doesn't show logged_in = 1
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---