Petr Hracek wrote:

Is there any way how to detect that gracefull restart has been started and where should I place
the code for detection in our module.

I can't think of anything OTTOMH.  Normal practice would be for
the client to hold a session token, which the server can use as
a database key to the full session.

Likeliest suggestion would be to put restore-sessions in a
post-config hook, and register save-sessions as a pool cleanup.
But that doesn't make very much sense, either: if your
application relies on sessions that would be affected
by a server restart, then you're also relying on
client behavior that isn't mandated by HTTP.

--
Nick Kew

Reply via email to