# Within shiny the session variable will exist
# this creates examples here for testing purposes:
sess_res = ASM_test_mksession()
session = sess_res$session
state = sess_res$state
ssf = tempfile(fileext=".zip")
ss_res =
ASM_save_state(state, session,
file_path = ssf)
ls_res =
ASM_load_state(state, session,
file_path = ssf)
Run the code above in your browser using DataLab