On 30 Mei 2010, at 19:06, Michael Van Canneyt wrote:

> But if you want it, it's really easy to do in fcl-web. Create a webmodule, 
> implement the OnRequest handler of the module, and add
>  Application.Terminate:=True;
>  Handled:=True;
> in the handler. Then register the module with the name 'shutdown'.

Ok, thanks for the hint.

> Obviously, I'd add some security mechanism

Of course. Absolutely, Michael. :)

> But the url
> http://www.yourhost.com/shutdown?password=mysecret
> will still shutdown your app.

Plus SSL. ;)

-Bee-

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to