Both RHTTPSession
and RHTTPTransaction
can
have a set of properties associated with them. Properties take the form of
name-value pairs, where the name is an RStringF
and the
value is a THTTPHdrVal
, allowing integers, strings, URIs,
and dates to be stored.
Session properties are called Connection Information in the API, as they
mainly relate to the type of connection that is made between a client and
an HTTP server. They are accessed using the RHTTPSession::ConnectionInfo()
method,
which returns an RHTTPConnectionInfo
handle.
Note that in general, session properties must be defined before the first transaction is created; filters do not check the connection information if the values have changed after this point. However, some exceptions are allowed with HTTP version and proxy configuration.