wwProcess::lShowRequestData

Flag that when set causes the current request data - Form Variables, ServerVariables, Session Vars - to be displayed at the end of the current request.

Only applies if the content type of the request is text/html.

o.lShowRequestData

Remarks

Be careful of this functionality if you return non-HTML content as it will corrupt the output with the appended HTML in that case.

The Request Data is simply appended to the end of the HTML content.

You can use this property either at the Process method level or directly in any request before the Response object is released.

Also check the wwServerConfig::lShowRequestData property which can be used globally to control display of this output.

Example

*** Example of conditionally enabling with a QueryString value 
*** in a Process method override via a QueryString value
FUNCTION Process

#IF DEBUGMODE    && Only allow in debug mode
IF !EMPTY(THIS.oRequest.QueryString("ShowRequestData"))
   IF !THIS.Login("WCINI")
      RETURN
   ENDIF
   THIS.lShowRequestData = .T.   
ENDIF   
#ENDIF

DODEFAULT()

RETURN .T.

See also:

Class wwProcess | wwServerConfig::lShowRequestData

© West Wind Technologies, 1996-2024 • Updated: 12/31/05
Comment or report problem with topic