Gets the anonymous identifier for the user, if present.
Assembly: System.Web (in System.Web.dll)
The Cookieless attribute in the anonymous identification configuration section is set to either the UseUri, UseDeviceProfile, or AutoDetect value. You must explicitly clear the cookie if you no longer want it available, for example when an anonymous user is authenticated.property assigns a long-lived unique identifier to a non-authenticated user, which can be used to track the user or assign profile properties to that user without storing data in a Session object. By default, the property is tracked using a cookie, but it can be set to use the URI when the
Anonymous identification is used when there is a need to identify entities that are not authenticated and when authorization is required. For more information, see anonymousIdentification Element (ASP.NET Settings Schema)
The following example shows how to use the Creating event in the Global.asax file. This example has two parts:property by handling the
A method in the Global.asax file that handles the Creating event.
A Web Forms page.
The first part of the code example shows how to set the Creating event in the Global.asax file. The method that is named AnonymousIdentification_Creating sets the property when an anonymous ID is created.property by handling the
Available since 2.0