Hey Graeme, 2011/12/8 Graeme Gill <grae...@argyllcms.com>: > I'm wondering if anyone has some ideas on how to approach > doing an orderly shut-down of a server. > > What I'm thinking of is how to: > > 1) Disable new sessions. > > 2) Warn existing sessions that the system is shutting down. > (presumably use Wt::WServer::post()) > > 3) Forcibly terminate all sessions except the administrator > session. > > 4a) Shut down the server > (Presumably using Wt::WServer::stop()) > > or > > 4b) Re-enable new sessions.
This should be turned into a feature request, I like this, and API for this could be added to WServer (which already has stop()). Regards, koen ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest