CommerceDataWarehouseAuthenticationModule Class
A DataWarehouse authentication http module provides the correlation mechanism to track ASP.NET site visitors to profile users. This class cannot be inherited.
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
This class allows for analytics click-stream reports generation for the site. This class handles the PreRequestHandlerExecute event. This method obtains the username from the CommerceContext.Current.UserId and creates an encrypted Ticket string. When the event is fired, the following logic is applied:
-
If the user is authenticated (The UserID is not nullNothingnullptra null reference (Nothing in Visual Basic)) the User’s encrypted Ticket string is logged in the IIS logs as the "MSCSAuth" ticket for the user, and no cookie is created.
-
If the user is not authenticated (The UserID is nullNothingnullptra null reference (Nothing in Visual Basic)) a MSCSProfile session cookie is created with a random GUID, and a cookie is logged to the IIS log.
If the Commerce Server Authentication (AuthManager) is being used, then the Data Warehouse Authentication Module should not be listed in the httpModules section of web.config). For further information on ASP.NET authentication, see UserID.
Microsoft.CommerceServer.Runtime..::.CommerceModule
Microsoft.CommerceServer.Runtime..::.CommerceDataWarehouseAuthenticationModule