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