System.Web.Profile.ProfileManager.AutomaticSaveEnabled Property

Gets a value indicating whether the user profile will be automatically saved at the end of the execution of an ASP.NET page.

Syntax

public static bool AutomaticSaveEnabled { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ProfileManager.AutomaticSaveEnabled property indicates whether automatic saving of the user profile is enabled for the application. If automatic saving is enabled, the System.Web.Profile.ProfileModule object raises the ProfileModule.ProfileAutoSaving event and calls the ProfileBase.Save method during the System.Web.HttpApplication.EndRequest event at the end of the execution of an ASP.NET page.

The ProfileManager.AutomaticSaveEnabled property is set using the automaticSaveEnabled attribute of the profile element in the Web.config file for an ASP.NET application.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0