Besides resetting the session, it would be helpful to force an app reload/refresh at the same time:
anvil.server.reset_session(True) # Reload/refresh app
Besides resetting the session, it would be helpful to force an app reload/refresh at the same time:
anvil.server.reset_session(True) # Reload/refresh app
E.g.,
anvil.server.reset_session(client_reload_app = True)
?
This works form me:
import anvil.js.window
anvil.js.window.location.reload(True)