HTTP_SESSION_TIMEOUT Option

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 SQL Anywhere Server - Programming > HTTP web services > Using SQL Anywhere as an HTTP web server.

See SessionCreateTime and http_session_timeout properties in SQL Anywhere Server - Database Administration > Configuring your database > Connection, database, and database server properties > Connection properties.

Note: These references point to SQL Anywhere documentation.