sc_site_ssl
|
|
This macro is used to verify if the used site is a safe site. (https protocol)
Ex. 1: Using an affirmative. if (sc_site_ssl) { echo "ok - Safe site"; }
Ex. 2: Using a negative. if (!sc_site_ssl) { echo "Warning - Unsafe site"; }
Ex. 3: Redirecting if the site isn't safe. if (!sc_site_ssl) { sc_redir("http://www.erro_page.com/") ; }
Note: This macro works only on the web server llS.
|
Macro Scope
|
Blank application
|
calendar application
|
chart application
|
Grid application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Responsive Menu
|
Tree menu
|
ReportPDF application
|
allMacros onExecute
|
allMacros onAfterDelete onAfterInsert onAfterUpdate onApplicationInit onBeforeDelete onBeforeInsert onBeforeUpdate onInit onLoadAll onRefresh onValidate onValidateFailure onValidateSuccess
|
allMacros onApplicationInit onInit
|
onInit
|
allMacros onApplicationInit onFilterInit
|
allMacros onAfterDelete onAfterDeleteAll onAfterInsert onAfterInsertAll onAfterUpdate onAfterUpdateAll onApplicationInit onBeforeDelete onBeforeDeleteAll onBeforeInsert onBeforeInsertAll onBeforeUpdate onBeforeUpdateAll onClick onInit onLoadAll onNavigate onRecord onRefresh onValidate onValidateFailure onValidateSuccess
|
allMacros onApplicationInit onClick onInit onLoadAll onValidate onValidateFailure onValidateSuccess
|
allMacros onApplicationInit onLoad
|
onApplicationInit onLoad
|
allMacros onLoad
|
allMacros onApplicationInit onInit
|
|