Click or drag to resize
PageSecurityHelperRequestSecurePage Method (Boolean, Int32, ViewModeEnum, String)
Redirect to https:// or to http:// if page require it

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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