Closing web app

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Dufour

    #1

    Closing web app

    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


  • Spam Catcher

    #2
    Re: Closing web app

    "Robert Dufour" <bdufour@sgiims .comwrote in news:#RX54vnjHH A.1900
    @TK2MSFTNGP04.p hx.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.

    Comment

    • Michel Posseth [MCP]

      #3
      Re: Closing web app

      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


      "Robert Dufour" <bdufour@sgiims .comschreef in bericht
      news:%23RX54vnj HHA.1900@TK2MSF TNGP04.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
      >
      >

      Comment

      Working...