Class CookieBasedStateStorage
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
CookieBasedStateStorage
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.VisitorGroups.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7Syntax
public class CookieBasedStateStorage : IStateStorage
Constructors
CookieBasedStateStorage(ServiceAccessor<HttpContextBase>)
Declaration
public CookieBasedStateStorage(ServiceAccessor<HttpContextBase> httpContextAccesor)
Parameters
Type | Name | Description |
---|---|---|
ServiceAccessor<System.Web.HttpContextBase> | httpContextAccesor |
Properties
IsAvailable
Declaration
public bool IsAvailable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Delete(String)
Declaration
public void Delete(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Load(String)
Declaration
public object Load(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
System.Object |
Save(String, Object)
Declaration
public void Save(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |