AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

DomainLanguageHelper..::..SetDomainId Method (HttpContextWrapper, Int32)

Writes the supplied domain identifier into the cookie store for the current context so subsequent requests resolve the same admin domain.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static void SetDomainId(
	HttpContextWrapper context,
	int value
)

Parameters

context
Type: HttpContextWrapper
The HTTP context wrapper whose cookie store receives the domain identifier.
value
Type: Int32
The domain identifier to persist.