All Products
Search
Document Center

Function Compute:UpdateSessionInput

Last Updated:Jan 14, 2026

Parameter

Type

Description

Example

object

Parameters for updating a session.

sessionTTLInSeconds

integer

The time-to-live (TTL) of the session, in seconds.

21600

sessionIdleTimeoutInSeconds

integer

The idle timeout period for the session, in seconds.

1800

disableSessionIdReuse

boolean

The default value is false. If this parameter is set to false, the same session ID can be used to send requests after the session expires. The system treats this as a new session and attaches a new instance. If this parameter is set to true, the session ID cannot be reused after the session expires.