OpenHands/docs/modules/usage/how-to/persist-session-data.md
mamoodi 4de6c782cc
Add doc style guide and make docs adhere to it (#5983)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-01-03 12:14:14 -05:00

472 B

Persisting Session Data

Using the standard Development Workflow, the session data is stored in memory. Currently, if OpenHands' service is restarted, previous sessions become invalid (a new secret is generated) and thus not recoverable.

How to Persist Session Data

Development Workflow

In the config.toml file, specify the following:

[core]
...
file_store="local"
file_store_path="/absolute/path/to/openhands/cache/directory"
jwt_secret="secretpass"