Select the kind of members to be examinedprotected static or protected instance membersand get a collection of all the members of that kind For each such member { If the member is a field (data variable) { Get a collection of the extended attributes on the field. If one of them is a page persistence attribute { If session persistence, use the page's Session collection, else If application persistence, use the global Application object, else Use web.config file information through the ConfigurationSettings collection (read only). } } }
Example 1: Pseudocode for using the PagePersister class.