Configuring the Server Session

The server session ID is created with the HttpCreateServerSession function, and used in the call to HttpSetServerSessionProperty. The pPropertyInformation parameter points to the configuration structure for the property type that is set. The PropertyInformationLength parameter specifies the size, in bytes, of the configuration structure. For example, when setting the HttpServerTimeoutsProperty the pPropertyInformation parameter must point to a buffer that is at least the size of the HTTP_TIMEOUT_LIMIT_INFO structure.

Typically an HTTP application creates a single server session and may set application wide properties such as global bandwidth throttling limit or enable centralized logging on this server session. HttpSetServerSessionProperty overrides the HTTP Server API configurations for the calling application; it does not affect the HTTP Server API-wide properties. The server session configurations are queried by calling HttpQueryServerSessionProperty.