NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on January 17, 2012, 03:02:50 AM

Title: Web Server Window
Post by: rupertvz on January 17, 2012, 03:02:50 AM
Hi Guys,

What is the easiest or best way to prevent an administrator of closing the web server window on the server?
Title: Re: Web Server Window
Post by: Rene Simons on January 17, 2012, 03:10:10 AM
Hi Rupert,

Run it as a service.

Rene
Title: Re: Web Server Window
Post by: Bruce on January 17, 2012, 03:11:18 AM
The real question is why would they? Presumably you'd have it running as a service, and if your IT staff are in the habit of stopping arbitrary services then I guess you have big problems anyway. Or more accurately, it's not your problem at all.

I find that a horse-whip across both eyeballs though does tend to encourage compliance.

cheers
Bruce
Title: Re: Web Server Window
Post by: rupertvz on January 17, 2012, 03:37:39 AM
Thanks Rene, Bruce :-)

Is it simply a matter of dropping SelfSevice into the app to run the web-sevice as a 'Windows service'?
Any cons?
Title: Re: Web Server Window
Post by: Bruce on January 17, 2012, 03:50:43 AM
Not a lot to making a service;

a) use SelfService - read the docs so you understand what you are doing and how to do it.

b) I recommend using both WinEvent and MessageBox in the app as well. MessageBox traps any MESSAGE statements (and you set messagebox to time them out, and optionally log them for you). also WinEvent so the service closes smoothly when Windows closes and so on.

Cheers
Bruce