Re: Running a script on windows2000 logoff/shutdown
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/14/04
- Previous message: Jonathan Heath: "Running a script on windows2000 logoff/shutdown"
- In reply to: Jonathan Heath: "Running a script on windows2000 logoff/shutdown"
- Next in thread: Jonathan Heath: "Re: Running a script on windows2000 logoff/shutdown"
- Reply: Jonathan Heath: "Re: Running a script on windows2000 logoff/shutdown"
- Reply: nospamng_REMOVE_at_will-enterprises.com: "Re: Running a script on windows2000 logoff/shutdown"
- Messages sorted by: [ date ] [ thread ]
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
:
:
:
- Previous message: Jonathan Heath: "Running a script on windows2000 logoff/shutdown"
- In reply to: Jonathan Heath: "Running a script on windows2000 logoff/shutdown"
- Next in thread: Jonathan Heath: "Re: Running a script on windows2000 logoff/shutdown"
- Reply: Jonathan Heath: "Re: Running a script on windows2000 logoff/shutdown"
- Reply: nospamng_REMOVE_at_will-enterprises.com: "Re: Running a script on windows2000 logoff/shutdown"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|