SSL::modssl_sessionid_headers

Description

Returns a list of fields that the system will add to the HTTP headers, in order to emulate modssl behavior. The return type is a Tcl list; this list will be interpreted as a header-name/header-value pair by HTTP::header, for example.

Syntax

SSL::modssl_sessionid_headers [initial | current]

SSL::modssl_sessionid_headers

  • Returns a header name of “SSLClientSessionId”, and a header value of the session id requested by the client.

SSL::modssl_sessionid_headers initial

  • Returns a header name of “SSLClientSessionId”, and a header value of the session id requested by the client.

SSL::modssl_sessionid_headers current

  • Returns a header name of “SSLClientCurrentSessionId”, and a header value of the session id that is actually used, i.e. the one returned by the server.

Examples

when HTTP_REQUEST {
  HTTP::header insert [SSL::modssl_sessionid_headers]
}