Class ReferrerCriterion
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Criterion for visitor groups that checks the referrer
Inherited Members
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class ReferrerCriterion : UriSessionStartCriterionBase<ReferrerModel>
Constructors
ReferrerCriterion()
Declaration
public ReferrerCriterion()
Properties
SessionKey
Gets the session key.
Declaration
public override string SessionKey { get; }
Property Value
Type | Description |
---|---|
System. |
The cookie key. |
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.ReferrerModel>.SessionKey
Methods
GetUri(HttpContextBase)
Gets the request referrer URI from the http context.
Declaration
protected override Uri GetUri(HttpContextBase httpContext)
Parameters
Type | Name | Description |
---|---|---|
System. |
httpContext | The HTTP context. |
Returns
Type | Description |
---|---|
System. |
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.ReferrerModel>.GetUri(System.Web.HttpContextBase)
IsMatch(Uri)
Determines whether the specified URi referrer match specified value.
Declaration
protected override bool IsMatch(Uri urlReferrer)
Parameters
Type | Name | Description |
---|---|---|
System. |
urlReferrer | The URi referrer. |
Returns
Type | Description |
---|---|
System. |
|
Overrides
EPiServer.Personalization.VisitorGroups.Criteria.UriSessionStartCriterionBase<EPiServer.Personalization.VisitorGroups.Criteria.ReferrerModel>.IsMatch(System.Uri)