On 2011-08-08 03:34 -0700, Jinu wrote: > I have created session and successfully logged into session. Now I > want to write code to logout from session. I have done it with the > following code. > > class signout: > def GET(self): > session.loggedin = False > session.kill() > return render.logout()
I don't know about that exception, but you don't have to set loggedin to False. All you have to do is kill the session. -- Branko Vukelic [email protected] [email protected] Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com Love coffee? You might love Loveffee, too. loveffee.appspot.com -- 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.
