November Happy Hour will be moved to Thursday December 5th.

Class SessionBasedStateStorage

Inheritance
System.Object
SessionBasedStateStorage
Implements
Namespace: EPiServer.Personalization.VisitorGroups.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class SessionBasedStateStorage : Object, IStateStorage

Constructors

SessionBasedStateStorage(IHttpContextAccessor)

Declaration
public SessionBasedStateStorage(IHttpContextAccessor httpContextAccesor)
Parameters
Type Name Description
Microsoft.AspNetCore.Http.IHttpContextAccessor 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

Implements

Extension Methods