ClearHeaders Method  
 

Clears the current request and response headers.

Syntax

object.ClearHeaders

Parameters

None.

Return Value

None.

Remarks

The ClearHeaders method clears the request and response headers for the current session, including any cookies which may have been set. This method can be useful in persistent connections, where the client wishes to clear any previously set header values without disconnecting from the server.

See Also

GetHeader Method, SetHeader Method