Show TOC

HTTP_SESSION_TIMEOUT OptionLocate this document in the navigation structure

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

Option can be set at the database (PUBLIC) or user level. At the database level, the value becomes the default for any new user, but has no impact on existing users. At the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.

Requires the SET ANY PUBLIC OPTION system privilege to set this option. Takes effect immediately.

Remarks

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.