Re: Running a script on windows2000 logoff/shutdown

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/14/04

  • Next message: Ken Schaefer: "Re: ASP & MS Access"
    Date: Sun, 14 Mar 2004 13:57:23 +1100
    
    

    I don't really think this is feasible. For other thing, the system will be
    capable of terminating the process that is running the script (eg
    WScript.exe or InetInfo.exe) if the user doesn't enter anything (sometimes
    you see the "program xyz is has not responded in a timely manner. Do you
    want to terminate the program?" type prompts).

    I assume that Windows itself provides APIs that you can hook into for doing
    these things. You'd need to write an application or a service though.

    Can you tell us what you are thinking of doing? Perhaps there is a different
    way?

    Cheers
    Ken

    "Jonathan Heath" <Jon@nospam.thecityground.co.uk> wrote in message
    news:_SN4c.1$K4.0@newsfe1-win...
    : Hi all,
    :
    : I have created an ASP script that enters data into an Access Database.
    :
    : My problem is that I'd like this script to run when the computer is
    shutdown
    : or the user logs off.
    :
    : I think this would be simple enough if the ASP didn't have any user input,
    : but it does.
    :
    : How can I do it that the logoff/shutdown only continues after the ASP form
    : has been submitted?
    :
    : Any other suggestions on getting around the problem if it isn't possible
    to
    : do it using the above method would also be appreciated.
    :
    : Thanks
    :
    : JH
    :
    :
    :


  • Next message: Ken Schaefer: "Re: ASP & MS Access"

    Relevant Pages

    • Re: Running a script on windows2000 logoff/shutdown
      ... capable of terminating the process that is running the script (eg ... you see the "program xyz is has not responded in a timely manner. ... I have created an ASP script that enters data into an Access Database. ...
      (microsoft.public.inetserver.asp.general)
    • Re: Problem with ASP on Webserver
      ... There is no ActiveX object involved in this problem, we only request a ASP ... function in the script ... (Accept-Language:) ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Problem with ASP on Webserver
      ... There is no ActiveX object involved in this problem, we only request a ASP ... function in the script ... (Accept-Language:) ...
      (microsoft.public.windowsce.platbuilder)
    • HOWTO: Remotely debug classic ASP in Visual Studio 2005
      ... i am still no closer to being able to debug ... ASP not ASP.NET ... Connect to, or expand, the web-server running the web-site is you want ... Check the "Enable ASP server-side script debugging" checkbox. ...
      (microsoft.public.vsnet.debugging)
    • HOWTO: Remotely debug classic ASP in Visual Studio 2005
      ... i am still no closer to being able to debug ... ASP not ASP.NET ... Connect to, or expand, the web-server running the web-site is you want ... Check the "Enable ASP server-side script debugging" checkbox. ...
      (microsoft.public.vsnet.debugging)