detect explorer close

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Felix González

    #1

    detect explorer close

    Hi

    I´m developing an ASP.NET application, this application need´s save records
    on a tempory table of data base. when the user close session I delete this
    table. But what can I do when the user close explorer without close
    sesseion? how can I detect this event?

    thanks



  • Aidy

    #2
    Re: detect explorer close

    You can't reliably detect this, just use the Session_End event as you have
    been doing.

    "Felix González" <felix.gonzalez @gvgest.eswrote in message
    news:O1yjp1VlIH A.2328@TK2MSFTN GP03.phx.gbl...
    Hi
    >
    I´m developing an ASP.NET application, this application need´s save
    records on a tempory table of data base. when the user close session I
    delete this table. But what can I do when the user close explorer without
    close sesseion? how can I detect this event?
    >
    thanks
    >
    >
    >
    >

    Comment

    • Augustin Prasanna

      #3
      Re: detect explorer close

      Hi Felix,

      You can try this.

      1) Write a javascript function and call from the unload event of the window
      (client side).
      2) Send a request to server program (Ajax) from within this javascript
      function.

      Let me know if this helps.

      Regards,
      Augustin

      "Felix González" <felix.gonzalez @gvgest.eswrote in message
      news:O1yjp1VlIH A.2328@TK2MSFTN GP03.phx.gbl...
      Hi
      >
      I´m developing an ASP.NET application, this application need´s save
      records on a tempory table of data base. when the user close session I
      delete this table. But what can I do when the user close explorer without
      close sesseion? how can I detect this event?
      >
      thanks
      >
      >
      >

      Comment

      Working...