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. Understand Shutting Down...

Understand Shutting Down...

Scheduled Pinned Locked Moved ASP.NET
questioncom
3 Posts 3 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
    sacoskun
    wrote on last edited by
    #1

    Hi, I want to learn is it possible to understand that the user is going to shut his computer down from his or her machine? I mean how can I understand that the user is clicked "Shut Down" from "Start" menu from an aspx page. If yes how? Kind Regards, - kromozom@msn.com for MSN Messenger -

    A 1 Reply Last reply
    0
    • S sacoskun

      Hi, I want to learn is it possible to understand that the user is going to shut his computer down from his or her machine? I mean how can I understand that the user is clicked "Shut Down" from "Start" menu from an aspx page. If yes how? Kind Regards, - kromozom@msn.com for MSN Messenger -

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      For Get It...

      R 1 Reply Last reply
      0
      • A Anonymous

        For Get It...

        R Offline
        R Offline
        Robert Collyer
        wrote on last edited by
        #3

        This IS possible by writing a COM object to query the computer state and then continually calling the COM object from an aspx page... Although it IS possible, the aspx page would have to have a very fast refresh rate in order to catch the shutdown, and frankly I do not see the point... (VERY BAD IDEA.... BAD PERFORMANCE AND VERY SLOW SERVER) Instead why dont you save the state of your asp.net application in a database so it matters not one bit if the server is shutdown... You can then reinstate the application state by firing off a subroutine in the global.asax file to retrieve the state from your DB. Hope this helps. Rob.

        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