Closing web app

  • Thread starter Thread starter Robert Dufour
  • Start date Start date
R

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
 
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.
 
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
 
Back
Top