Panel Application unresponsive after user is idle in browser for some time, any suggestions for handling?

If the user opens our Panel app and lets it just sit in the browser for a long time eventually the bokeh websocket connection is eventually lost. I see the destroyed happened on the session in the admin panel. Just curious if anyone has a good solution for this, maybe catching the event and redirecting to a timeout page or something? Thanks.

Hi @petegordon,

You can set a disconnect alert to let your users know when the websocket connection gets shut down, see Add notifications on connect and disconnect — Panel v1.4.4.

1 Like