set_session_id.RdThis function sets a session ID in the browser's cookies and creates a session directory in the specified temporary directory. It uses the `shinyjs` package to run JavaScript code that sets the cookie.
set_session_id(session_id, temp_dir)NULL. The function is called for its side effect of setting a cookie and creating a directory.