On 2013-06-10 18:53, Tomas Schertel wrote:
> Would you mind sharing your logout code?

It's as short as:

class Logout:
    def GET(self):
        try:
            MyApp.session.kill()
        except KeyError:
            log.error("tried to end unknown session")
        raise web.found(u'/')

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to