I've this Shiny app that ask an input from the user. how can I hold the user input also after refresh the page? for example - if the user write "hello" I'll see his input. I want still see his last input even if he clicks on refresh
## Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
textInput("caption", "Caption", "Data Summary"),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$caption })
}
shinyApp(ui, server)
}