To save state in the location of your choice, you should create a new descendent of the PageStatePersister class that saves and loads state to the persistence medium of your choice. For an example of creating a new PageStatePersister object, see the PageStatePersister class.

If you are using the .NET Framework version 1.0 or 1.1, override this method if you want to load the Page state from anything other than a hidden field. If you choose to do so, you must also override the SavePageStateToPersistenceMedium method.