Can I access to session values from onStop / onSessionEnded functions?
onStop(function() {
cat(file = stderr(), paste(app, session$clientData$url_protocol, sep = ' - '))
})
Run Code Online (Sandbox Code Playgroud)
That code gives me this error: Error in .getReactiveEnvironment()$currentContext: Operation not allowed without an active reactive context.
There is a way to get session values inside this functions?
If not, there is a way to execute a function just before the session is ended?
Thanks.