Glad you got it sorted :-) I thought you were trying to log the user out if they just left/closed their browser, which would be a little trickier!
2010/1/26 Alex Nemoy <[email protected]> > On Tue, Jan 26, 2010 at 7:45 PM, Danny Tuppeny <[email protected]> wrote: > >> If you mean fetching it server-side, then that won't work. I can't >> think of any nice way to do what you want, though there is a tickbox >> that says "Keep me signed in". If the user ticks this, surely that's >> what they want? >> >> Not sure if I was clear enough in the OP, I wanted I way of logging the > user out after an operation is finished. > > Turns out it works using > self.redirect(users.create_logout_url('/whatever')) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
