>excellent idea. Thanks Hilmar
You are welcome.
Personally, I use the "file condition" to kick users out of the system, for maintenance tasks (especially corrupt indices).
A timer checks every two minutes for a filed called "maintenance.tmp", and if it exists, it issues the framework-specific goProgram.OnQuit() method. And, re-entering the sistem will go through the same check.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)