Class DiskPageStatePersister
DiskPageStatePersister provides a disk (stream) based page state peristence mechanism.
Inheritance
System.Object
DiskPageStatePersister
Namespace: DotNetNuke.Framework
Assembly: DotNetNuke.dll
Syntax
public class DiskPageStatePersister : PageStatePersister
Constructors
| Improve this Doc View SourceDiskPageStatePersister(Page)
Initializes a new instance of the DiskPageStatePersister class. Creates the DiskPageStatePersister.
Declaration
public DiskPageStatePersister(Page page)
Parameters
Type | Name | Description |
---|---|---|
Page | page |
Properties
| Improve this Doc View SourceCacheDirectory
Gets the CacheDirectory property is used to return the location of the "Cache" Directory for the Portal.
Declaration
public string CacheDirectory { get; }
Property Value
Type | Description |
---|---|
System.String |
StateFileName
Gets the StateFileName property is used to store the FileName for the State.
Declaration
public string StateFileName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceLoad()
Loads the Page State from the Cache.
Declaration
public override void Load()
Save()
Saves the Page State to the Cache.
Declaration
public override void Save()