HTTP_SESSION_TIMEOUT option

Function

Specifies the amount of time, in minutes, that the client waits for an HTTP session to time out before giving up.

Allowed values

Integer (0 – 525600)

Default

30

Scope

DBA authority required. Can be set for PUBLIC group only.

Description

This option provides variable session timeout control for Web service applications. A Web service application can change the timeout value from within any request that owns the HTTP session, but a change to the timeout value can impact subsequent queued requests if the HTTP session times out. The Web application must include logic to detect whether a client is attempting to access an HTTP session that no longer exists. This can be done by examining the value of the SessionCreateTime connection property to determine whether a timestamp is valid: if the HTTP request is not associated with the current HTTP session, the SessionCreateTime connection property contains an empty string.

See also

See "Using HTTP sessions" in SQL Anywhere Server – Programming.

See SessionCreateTime and http_session_timeout properties in "Connection-level properties" in SQL Anywhere Server – Database Administration.