This function tells Shiny which inputs should be excluded from bookmarking. It should be called from inside the application's server function.
setBookmarkExclude(names = character(0), session = getDefaultReactiveDomain())
This function can also be called from a module's server function, in which case it will exclude inputs with the specified names, from that module. It will not affect inputs from other modules or from the top level of the Shiny application.
enableBookmarking()
for examples.