Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web form closing event.

web form closing event.

Scheduled Pinned Locked Moved ASP.NET
question
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sonia Gupta
    wrote on last edited by
    #1

    is there any event that fires up when the web for is closed?

    Sonia Gupta Soniagupta1@yahoo.co.in

    K I T S 4 Replies Last reply
    0
    • S Sonia Gupta

      is there any event that fires up when the web for is closed?

      Sonia Gupta Soniagupta1@yahoo.co.in

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      Unfortunately no. Ben

      S 1 Reply Last reply
      0
      • S Sonia Gupta

        is there any event that fires up when the web for is closed?

        Sonia Gupta Soniagupta1@yahoo.co.in

        I Offline
        I Offline
        InsDev
        wrote on last edited by
        #3

        You must know the the life cycle of web from . It is stateless so is that possible to close web from . just u close the explore. The last event of web form is dispose. Ok . Devjit

        1 Reply Last reply
        0
        • K kubben

          Unfortunately no. Ben

          S Offline
          S Offline
          Sonia Gupta
          wrote on last edited by
          #4

          Hello Ben...... is there any other way out to check whether the fom is closing...

          Sonia Gupta Soniagupta1@yahoo.co.in

          N K 2 Replies Last reply
          0
          • S Sonia Gupta

            Hello Ben...... is there any other way out to check whether the fom is closing...

            Sonia Gupta Soniagupta1@yahoo.co.in

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            You can track browser close event


            My Website | Ask smart questions

            1 Reply Last reply
            0
            • S Sonia Gupta

              Hello Ben...... is there any other way out to check whether the fom is closing...

              Sonia Gupta Soniagupta1@yahoo.co.in

              K Offline
              K Offline
              kubben
              wrote on last edited by
              #6

              There are some things you can do with javascript, but nothing works all the time. I would guess you aren't interested in javascript you want something to happen on the server side like expire a session or something like that. There really isn't any good way of doing it. If you do a google search on browser closing event you will see some discussions on this and what other people have tried. Ben

              1 Reply Last reply
              0
              • S Sonia Gupta

                is there any event that fires up when the web for is closed?

                Sonia Gupta Soniagupta1@yahoo.co.in

                T Offline
                T Offline
                Tarik Guney
                wrote on last edited by
                #7

                In asp.net there is always a solution for all issues :) so it may a solution for your issues .. Check it out.. http://www.codeproject.com/csharp/detect_closing_navigator.asp[^]

                1 Reply Last reply
                0
                • S Sonia Gupta

                  is there any event that fires up when the web for is closed?

                  Sonia Gupta Soniagupta1@yahoo.co.in

                  S Offline
                  S Offline
                  sathesh pandian
                  wrote on last edited by
                  #8

                  you can catch that event only using javascript.

                  All The Best Sathesh Pandian

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups