October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Unlike Session state, profile data does not evaporate when a user leaves your application. Over time, as more users visit your application, the amount of data stored by the Profile object can become huge. If you allow anonymous profiles, the situation becomes even worse.
The ASP.NET Framework includes a class named the ProfileManager class that enables you to delete old profiles. This class supports the following methods:
• DeleteInactiveProfiles—
Enables you to delete profiles that have not been used since a specified date.
• DeleteProfile—
Enables you to delete a profile associated with a specified username.
• DeleteProfiles—
Enables you to delete profiles that match an array of usernames or collection of ProfileInfo ...