I do not understand what you try to accomplish. What is this line supposed 
to do?
    HTTP(202) 


On Tuesday, 27 March 2012 01:01:23 UTC-5, weheh wrote:
>
> I want something like this to work, but it doesn't, obviously. 
>
> def logout(): 
>     auth.logout() 
>     response.js = 'alert("goodbye world");' 
>     from gluon import HTTP 
>     HTTP(202) 
>     return dict() 
>
> I've also tried auth.settings.logout_onlogout = [onlogoutfunction] 
> but that's not working for me either. 
>
> Can anyone shed light on this, please? Thanks.

Reply via email to