WeOnlyDo! wodWebServer ActiveX - StatusText Property
      
 

Description

Holds status text returned to the client.


Property type

A String value.  


Syntax

object.StatusText [= value]



The StatusText Property syntax has these parts:

Part Description
object An expression evaluating to an object of type WebResponse.
value A String value.

Remarks

StatusText property describe result of client's request (as set in StatusCode property), sent as first line of response. It has no meaning to the actual person connecting, but in case of errors some clients may provide this text to the client to help him understand what error occurred.

There are typical texts for different status codes. For example, 404 is usually set to 'Not found', but if you want you can change this value to 'I am sorry but this resource does not exist' or something similar.

Changing this property will cause StatusLine property to be updated, and vice versa.