Skip to content

Filesystem session

This variant of session is stored on the same local filesystem onb which also Bifröst is running.

Properties

type

Session Type = "fs"

Can be set to fs to enable the filesystem session. If absent, fs is always chosen by default.

idleTimeout

Duration = "30m"

For how long a session can be idle before it will forcibly be closed and disposed and can therefore not be used again. This can extend by actions of the client (regular interactions or keep alive) across all of client's connections.

maxTimeout

Duration = 0

The maximum duration of a session before it will forcibly be closed and disposed regardless whether there are actions or not.

maxConnections

uint16 = 0

The maximum amount of parallel connections of one session. Each new connecting connection will be instantly closed.

storage

File Path = "<os specific>"

Where the session information is stored locally.

The default value is different, depending on the platform Bifröst runs on:

  • Linux: /var/lib/engity/bifroest/sessions
  • Window: C:\ProgramData\Engity\Bifroest\sessions

fileMode

File Mode = "0600"

All files/directories inside the session storage will be stored with this mode. Directories will always get the executable bit.

Compatibility

linux windows
/ /