Session.Timeout (gb.web)

Static Property Timeout As Float

Returns or sets the maximum duration of a session in seconds.

The session's cookie is always deleted when the browser is closed. Longer living cookies you can achieve with SetCookie.