2.3.111 QOSCookieExpires
QOSCookieExpires specifies the amount of time for which the cookie used by the flow control functionality is enabled.
Description
QOSCookieExpires specifies the amount of time (in seconds) for which the cookie used by the flow control functionality is enabled. The value specified in this directive is used in HWS creation mode, but not in user creation mode.
Note that the mod_hws_qos module must be built-in to use the flow control functionality.
LoadModule hws_qos modules/mod_hws_qos.so
- Reference note
-
Sessions are managed by using the cookie that is created by the web server in HWS creation mode, or the cookie that is created by a server other than the web server in user creation mode. Specify HWS creation mode or user creation mode in the QOSCookieName directive.
Syntax
QOSCookieExpires value
Specifiable values
0 to 86,400
Notes
-
When the QOSCookieName directive is specified for a specific block, the higher-order QOSCookieName directives are not inherited.
- Example:
-
QOSCookieName Cookie1 hws <Location /loc1> QOSCookieName Cookie2 user </Location>
In this case, in the request beginning with /loc1, the specification of the cookie name Cookie2 is enabled. In a request beginning with something other than /loc1, the specification of the cookie name Cookie1 is enabled.
-
When you specify multiple QOSCookieName directives, do not duplicate a cookie name. If a cookie name is duplicated, a start error occurs.
- Example:
-
QOSCookieName Cookie1 hws QOSCookieName Cookie1 user
In this case, a start error occurs because the cookie name is duplicated.
-
When you specify multiple QOSCookieName directives in HWS creation mode, the directive specified later is enabled.
- Example:
-
QOSCookieName Cookie1 hws QOSCookieName Cookie2 hws
In this case, specification of the cookie name Cookie1 is disabled, and specification of Cookie2 is enabled.
Locations where it can be written
httpsd.conf, <VirtualHost> and <Location>