Implement the ability for the server process to write the currently running sessions to disk, when terminating, or otherwise receiving an unhandled signal (not sure about Windows here).
On restart, check for the existence of such a file, and depending on its modification timestamp, reload all the sessions into the process, so that in-progress 'games' can continue.
Implement the ability for the server process to write the currently running sessions to disk, when terminating, or otherwise receiving an unhandled signal (not sure about Windows here).
On restart, check for the existence of such a file, and depending on its modification timestamp, reload all the sessions into the process, so that in-progress 'games' can continue.