Adobe ColdFusion 8

CCFXRequest::Write

Syntax

void CCFXRequest::Write(LPCSTR lpszOutput)

Description

Writes text output back to the user.

Parameters

Parameter

Description

lpszOutput

Text to output

Example

The following example creates a buffer to hold an output string, fills the buffer with data, and writes the output back to the user:

CHAR buffOutput[1024] ;
    wsprintf( buffOutput, "The destination is: %s",
            pRequest->GetAttribute("DESTINATION") ) ;
    pRequest->Write( buffOutput ) ;