LogOut/Termination of app

 Hi there,
Can someone please tell me how to logout from the app and close it on the client?

I used the "WebApplication.Terminate('Goodbye');" from one of the demos - this shows the message on an extra page but doesn't close the browser. Is there any way to achive this?

Best regards,