Home All Groups Group Topic Archive Search About
Author
4 May 2007 6:40 PM
Robert Dufour
I got a web application with loginstatus control, when the user clicks
logout I would like to close the browser completely. How can I do this.

Thanks for any help
Bob

Author
4 May 2007 6:50 PM
Spam Catcher
"Robert Dufour" <bduf***@sgiims.com> wrote in news:#RX54vnjHHA.1900
@TK2MSFTNGP04.phx.gbl:

> I got a web application with loginstatus control, when the user clicks
> logout I would like to close the browser completely. How can I do this.


You'll have to use Javascript - but when you close the primary IE window, a
non-bypassable dialog box will be displayed by IE/Firefox.
Author
5 May 2007 6:29 AM
Michel Posseth [MCP]
Hello Robert ,

well short answer you can`t close the main browser window , if you try this
( window.close(); ) it will show a confirmbox with the text that the website
is trying to close the window so the user must aprove this

However  you can close popup windows ( tabs )   that you created from
javascript code without this confirmbox

regards

Michel


Show quoteHide quote
"Robert Dufour" <bduf***@sgiims.com> schreef in bericht
news:%23RX54vnjHHA.1900@TK2MSFTNGP04.phx.gbl...
>I got a web application with loginstatus control, when the user clicks
>logout I would like to close the browser completely. How can I do this.
>
> Thanks for any help
> Bob
>
>