FormsAuthenticationConfiguration.Path Property
.NET Framework 3.0
Gets or sets the cookie path.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_Path () /** @property */ public void set_Path (String value)
public function get Path () : String public function set Path (value : String)
Not applicable.
Property Value
The path of the HTTP cookie to use for authentication. The default value is a slash (/), which represents the Web-application root.The following code example shows how to access the Path property. Refer to the code example in the FormsAuthenticationConfiguration class topic to learn how to get the section.