Class wwServerConfig

This class is used to configure the Web Connection application and holds the main server's configuration settings which are read and written to the startup INI file.

This class uses Save() and Load() methods of the wwConfig class to load the Server's INI file settings. You can use the Reload method to automatically cause COM Server instances to reload and re-read these settings.

Relation
  wwConfig
    wwServerConfig

Class Members

MemberDescription

cAdminEmail

Admin Email address used for notifications and errors using the wwProcess::SendErrorEmail() method.

cAdminMailServer

Mail server used to send Admin email used for notifications and errors using the wwProcess::SendErrorEmail() method.

cComReleaseUrl

The URL used to release the Web Connection application server. By default: wc.dll?_maintain~release.

cHomeUrl

The web site home url

http://localhost/wconnect

cSQLConnectString

SQL Connect String to use if you want to use SQL Logging and Session objects.

cTempFilePath

Temp file path location used for file based messaging. Set this even if you're running COM mode exclusively.

cTemplate

The file prefix used in file based messaging. The form polls for files of this extension in the temp path. Default: WC_\

cVersion

lAdminMailUseSsl

Determines whether emails need to use SSL to send.

lAdminSendErrorEmail

Flag to determine whether admin email is sent on errors.

lLogToFile

Flag to determine whether every request is logged to file.

lSaveRequestFiles

Flag that determines whether the last request information is saved to a file that can be reviewed.

lShowRequestData

Flag that is passed forward to the wwProcess object (by default, but can be overridden) to show the current request data at the end of an HTML page. Shows Form data and Server Variables.

lShowServerForm

Flag that determines whether the server form shows. Not available while running in the IDE - only works in compiled applications.

lShowStatus

Determines whether the status window shows each request. There's slight overhead in displaying this information, so if speed is of utmost importance turn this option off.

nMemUsage

Memory usage flag. This value is passed to VFP's SYS(3050) function to attempt to limit memory usage of the Web Connection application servers.

nScriptMode

The scripting mode setting

nTimerInterval

The frequency in milliseconds the timer fires for file based messaging.

Requirements

Assembly: wwServer.prg

See also:

Class wwServerConfig

© West Wind Technologies, 1996-2024 • Updated: 03/14/16
Comment or report problem with topic