PageSecurityHelperRequestSecurePage Method (Boolean, Int32, ViewModeEnum, String) |
Redirect to https:// or to http:// if page require it
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public static void RequestSecurePage(
bool excludeSystem,
int requireSSLValue,
ViewModeEnum viewMode,
string siteName
)
Parameters
- excludeSystem
- Type: SystemBoolean
If true, the system pages are excluded from evaluation - requireSSLValue
- Type: SystemInt32
Require SSL value - viewMode
- Type: CMS.PortalEngineViewModeEnum
View mode - siteName
- Type: SystemString
Site name
See Also