Persistent User Sessions in R Shiny: httpOnly Cookies and Custom Routing | ShinyConf 2024 @appsilon_official
Persistent User Sessions in R Shiny: httpOnly Cookies and Custom Routing | ShinyConf 2024  @appsilon_official
Uploaded March 2025 | Updated September 2026, 2 weeks ago
#ShinyConf #ShinyConf2024

Abstract: This talk presents an innovative approach to enhancing user experience in R Shiny applications through the implementation of persistent user sessions, achieved by integrating secure httpOnly cookies and custom routing mechanisms. We illustrate how these technologies converge to eliminate the need for repeated user logins, thereby significantly improving session continuity and user satisfaction.

Our exploration begins with the design and implementation of a custom router within Shiny, which serves as the foundation for sophisticated session management strategies. This custom router is key for managing httpOnly cookies, a type of web cookie that provides security by making the cookie inaccessible to client-side scripts, thus reducing the risk of cross-site scripting attacks.

Following that we see the technical details of setting up a cookie endpoint within the Shiny application, detailing the server-client interaction necessary for cookie transmission and the required encryption of cookie values to ensure the security of the persistent sessions. Furthermore, the presentation covers the practical aspects of session persistence and strategies for cookie removal upon session termination or user logout.

____________________________

Join us this year! Sign up for ShinyConf 2025 here: go.appsilon.com/register-shinyconf2025
Persistent User Sessions in R Shiny: httpOnly Cookies and Custom Routing | ShinyConf 2024COHHIO Youth Homelessness Data Dashboard Showcase | ShinyConf 2024Just released! Our latest podcast episode focuses on the Future of #GxP Compliance in #Pharma 🎯Keynote: A Decade of Shiny in Action: Case Studies from Three Enterprises | ShinyConf 2024Streamlining a data process using Shiny and AWS | ShinyConf 2024Douglas Mesquita: Measuring performance improvement in Shiny appsInnovating Pharma Software: A Conversation with Paweł Rucki on Teal, Open Source Challenges and morePharma Brief: Generative AI Advances at FDA, Pharma’s Autonomous Agents, and Open-Source ToolsYieldScape: Agricultural Data Visualization with Dynamic Mapping | ShinyConf 2024Faster Clinical Reporting with TealflowGetting Started with {Rhino} to Build Enterprise-Grade Shiny AppsThe Rhinoverse Journey: Innovating with Open Source | ShinyConf 2024
Appsilon |

Persistent User Sessions in R Shiny: httpOnly Cookies and Custom Routing | ShinyConf 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER