VAR ShowError


 

 

Attribute:      EXPORTED

Datatype:      Logical (.F.)

 

Description

Determines whether or not to show the Application Error to the User's Browser.

Great for debugging, but may have security risks if left on.

Whether ::ShowError is On or Off, the Error.log file is still written.

 

Local oCGI := aprCGI():New()

 

oCGI:ShowError := .T. // Turns on the Error display for the End User.

 

oCGI:ShowError := .F. // Turns off the Error display.

 

 

Also see:

::LogFile, ::LogPath

 



Contents