Skip to main content
Financial Benchmarking and Insights Tool

Cookies

This section provides a summary of the cookies used in the application, along with their purposes and expiry details. It aims to assist developers in understanding the functionality and usage of each cookie within the context of the application’s architecture.

Cookies Summary

Cookie Name Purpose Expiry
.AspNetCore.Antiforgery Related to ASP.NET Core’s Anti-forgery (CSRF) protection feature. Session (expires when browser is closed)
.AspNetCore.Session Used by ASP.NET Core to maintain user session state across HTTP requests. Session (expires when browser is closed)
ai_session Used by Application Insights to track user sessions and interactions within a web application. 30 minutes
ai_user Used by Application Insights to identify unique users across sessions or visits to a web application. 1 year

Please refer to the detailed documentation below for more information about each cookie and its purpose.

.AspNetCore.Antiforgery

This cookie is related to ASP.NET Core’s Anti-forgery (CSRF) protection feature. When you enable anti-forgery protection in an ASP.NET Core application, the framework automatically generates tokens to prevent cross-site request forgery (CSRF) attacks. The .AspNetCore.Antiforgery.RtGCWVXC8-4 cookie is part of that mechanism.

More details about ASP.NET Core Anti-forgery can be found here.

.AspNetCore.Session

ASP.NET Core maintains session state by providing a cookie to the client that contains a session ID. This cookie:

  • Is sent to the app with each request.
  • Is used by the app to fetch the session data.
    The .AspNetCore.Session cookie is an essential part of managing user sessions in ASP.NET Core applications, facilitating the persistence of session data across multiple HTTP requests.

More details about ASP.NET Core session state can be found here.

ai_session

The ai_session cookie is used by Application Insights to track user sessions and monitor user interactions within a web application. It helps in understanding how users navigate through and interact with your application.

More details about the ai_session cookie and Application Insights can be found here.

ai_user

The ai_user cookie is utilized by Application Insights to identify unique users across their different sessions or visits to a web application. It helps in distinguishing one user from another and tracking their activities over time.

More details about the ai_user cookie and Application Insights can be found here.