RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.Sent Method

Indicates whether the HTTP response message has already been sent.

Pascal
function Sent: Boolean; virtual;
C++
virtual __fastcall Boolean Sent();

Because SendRedirect and SendStream are abstract (pure virtual) methods for TWebResponse, Sent always returns false. Descendants of TWebResponse override Sent to check whether the message was sent and return true or false as appropriate. 

TWebApplication objects read Sent and send unsent responses to the web client. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!