This topic has not yet been rated - Rate this topic

CHttpResponse::HaveSentHeaders

Visual Studio .NET 2003

Call this method to find out or specify whether response headers have been sent to the client.

BOOL HaveSentHeaders( ) throw( );
void HaveSentHeaders(
   BOOL bSent 
) throw( );

Parameters

bSent
A Boolean value indicating whether or not response headers have been sent.

Return Value

Returns TRUE if headers have been sent to the client, FALSE on failure.

Remarks

The first overload returns the current information about whether headers have been sent. The second overload allows you to set that information. Setting the value simply determines whether or not the object will attempt to send headers next time it sends data to the client.

See Also

CHttpResponse Overview | Class Members

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.