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 11.0.1 > SQL Anywhere Server - Programming > SQL Anywhere Data Access APIs > SQL Anywhere web services > Using HTTP sessions.

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