BackUp LevelNext

CCFXRequest::GetSetting

LPCSTR CCFXRequest::GetSetting(LPCSTR lpszSettingName)

Retrieves the value of a global custom tag setting. Custom tag settings are stored within the CustomTags section of the ColdFusion Registry key.

Returns the value of the custom tag setting. If no setting of that name exists, an empty string is returned.

lpszSettingName

Name of the setting to retrieve (case insensitive).

Example

The following example retrieves the value of a setting named 'VerifyAddress' and uses the returned value to determine what actions to take next:

LPCSTR lpszVerify = pRequest->GetSetting("VerifyAddress") ;
BOOL bVerify = atoi(lpszVerify) ;
if ( bVerify == TRUE )
{
        // Do address verification...
}

BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.