• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

DiskPageStatePersister(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 Source

CacheDirectory

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
| Improve this Doc View Source

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 Source

Load()

Loads the Page State from the Cache.

Declaration
public override void Load()
| Improve this Doc View Source

Save()

Saves the Page State to the Cache.

Declaration
public override void Save()

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS