Shiny onStop Functionality

Hi there,

Has anyone tried to use the R Shiny onStop functionality with ShinyProxy before? It does not seem to work consistently/nicely as ShinyProxy destroys a container when someone logs out. Is there an alternative that works well with a ShinyProxy setup?

Best regards,

Michael

The following solution seems to be a good alternative:

session$onSessionEnded({

# put code here that saves data

})

1 Like