whay not create a script (wscript) to do the start (then call a cfm page)
and (call a cfm page then ) stop and then you can do what you want.

the page could do server scope initialisation (on start) and cleanup (on
stop). if cleanup code was long you could set a variable and then refuse any
subsequent requests (before cf was actually down)

It wont work if it is unmanaged start/stop of course (except first page
request could do server initialisation)

Some rambling thoughts.

Elliot

In fact just given me an idea to better manage/disconnect current active
sessions before a shutdown.


something like
"barry.b" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> one idea brought up in
>
> http://www.mossyblog.com/archives/279.cfm
> CFMX and Events?
>
> was
>
> Server.OnStart() - on starting CF as a service, etc
> Server.OnEnd() - shutdown command, etc
>
> is it possible to fire an event to run a cf script when the CF service is
> started? how about when a shutdown command is issued?
>
> why?
>
> sending an "I'm alive" or "going now" email, initialising server variables
> to make the first page hit easier, etc.
>
> any ideas?
>
> cheers
> barry.b
>
>
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to