Delete all of the response headers for the specified client
session.
Syntax
object.ClearHeaders( ClientId )
Parameters
- ClientId
- An integer value which identifies the client session.
Return Value
A value of zero is returned if the response headers were deleted. Otherwise, a non-zero error code is returned which
indicates the cause of the failure.
Remarks
The ClearHeaders method is used to delete
all of the current response header values and automatically generate a
new set of default response headers. This method can be useful if the
client application wants to clear any custom headers that were
specified prior to sending a response to the client. In most cases it
is not necessary to use this method because the server will
automatically clear the response headers when a session terminates.
See Also
GetHeader Method,
SetHeader Method
|