ExperimentSession.session_timeout#

property ExperimentSession.session_timeout[source]#

The session’s timeout (in seconds).

After expiration of the timeout, the session will abort on the next move.

The default timeout is 24 hours. You can set the timeout in experiment setup. In the example below, we set the timeout to two hours:

import alfred3 as al
exp = al.Experiment()

@exp.setup
def setup(exp):
    exp.session_timeout = 60 * 60 * 2

exp += al.Page(name="demo")

See also

session_expired

Type

int