For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setting an inactivity timeout and maximum session length

By default, Textual does not have an automatic timeout based on user inactivity or overall session length.

Setting a timeout based on user inactivity

To have a session time out based on user inactivity, set the following environment variable:

SOLAR_INACTIVITY_TIMEOUT_IN_SECONDS

For example, if you set this to 60, then after a session is inactive for 60 seconds, the session ends.

Setting an overall maximum length for a user session

To automatically end a user session when it reaches a maximum length, set the following environment variable:

SOLAR_MAXIMUM_SESSION_LENGTH_IN_HOURS

For example, if you set this to 3, then when the session length reaches 3 hours, the session automatically ends and the user must reauthenticate.l

Last updated

Was this helpful?