Session Manager (per-tab state)
Store temporary workflow state for the current tab using Session Manager; cleared when the tab closes.
Session Manager
Session Manager stores per-tab state for the lifetime of the tab/session. It’s great for wizards and temporary workflow data.
When session storage is the right choice
This tour teaches the decision rule for session storage, not just the API. Use it when workflow state should survive refreshes in the current tab but disappear when that tab’s session ends, which makes it a strong fit for wizards, short-lived progress, and temporary UI context that should not bleed into other tabs.
Objects are supported
Session Manager can store complex objects; they are serialized/deserialized automatically.
tip: Even with objects, keep stored values small and focused.
Core workflow
Bind UI to session values, and update them on events.
Write session state
Use session.set(key, value) in submit/click handlers to store the user’s progress or inputs.
Read session state in bindings
Use session.key in expressions to prefill fields, show status text, or conditionally render UI.
Pattern: multi-step form
Store each step’s data in session storage so refreshes don’t lose progress. Clear on final submit.
Wrap-up
Next, pick the right persistence level for your app.
Next steps
Pick a related tour to continue.