this should work, no?

def index():
    auth.logout()
    response.flash="bye bye user"



On Mar 1, 1:12 pm, Ed Greenberg <greenberg...@gmail.com> wrote:
> At the end of my controller function, I'd like to log the user out and
> send him back to the login screen, hopefully with a response.flash on
> the screen.
>
> I've tried several things, none of which work.
>
> I tried sending him to URL(c='default',f='user',args=('logout')) which
> got close. One was summarily dropped to the home page, with no
> feedback as to how one got there.
>
> Any suggestions?

Reply via email to