Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / SessionOptions

Interface: SessionOptions

Defined in: flow/src/decorators.ts:924

Options for session.

Properties

key?

optional key?: string

Defined in: flow/src/decorators.ts:926

Session key to read and write. Defaults to the property's own name.


scoped?

optional scoped?: boolean

Defined in: flow/src/decorators.ts:932

Namespace the key to this component (flow:<Component>:<key>), so the value belongs to this page alone and cannot collide with another component's field of the same name. Default: false — the key is the session's own.