Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Save Method
Collapse the table of content
Expand the table of content

SessionPageStatePersister.Save Method

Serializes any object state contained in the ViewState or the ControlState property and writes the state to the session object.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override void Save()

The SessionPageStatePersister class implements the Save method to persist page state in the HttpSessionState object associated with the client.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft