Get Close Value from Web Browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TrushnaRakesh
    New Member
    • Feb 2008
    • 1

    Get Close Value from Web Browser

    How to get the value of web browser close control in a application.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by TrushnaRakesh
    How to get the value of web browser close control in a application.
    I'm not entirely sure what you are asking.
    Are you trying to determine when someone closes their web browser while using your web application??
    There is no way to monitor this, however there is a JavaScript event: onBeforeUnload that may help you.

    In this event you could implement a postback to your server indicating that the user is leaving the page, but there isn't any way to tell if they have closed the browser.

    -Frinny

    Comment

    Working...