wwProcess::GetAppSetting

Returns a setting from the application's INI file.

o.GetAppSetting(lcKey,lcSection)

Parameters

lcKey

lcSection

Remarks

Note: this method is not recommended. You should use the wwServerConfig object instead and read properties of that object. This method is slow as it goes out to the INI file each time and can cause potential bottlenecks if multiple instances access the file simultaneously. The wwServerConfig object is in memory, fast and safe across instances.

This method is useful if you already have a compiled server and you need to create a new setting and use it in a script page or other dynamic mechanism (like a Web Service).


See also:

Class wwProcess

© West Wind Technologies, 1996-2022 • Updated: 02/09/02
Comment or report problem with topic