Skip to content

Cookies

Marthijn van den Heuvel edited this page Sep 11, 2024 · 3 revisions

A cookie (also known as a web cookie or browser cookie) is a small piece of data a server sends to a user's web browser. The browser may store cookies, create new cookies, modify existing ones, and send them back to the same server with later requests.

Usage

In the default configuration, the Secure attribute is set to true, the HttpOnly attribute is set to true, and the MinimumSameSitePolicy is set to Strict.

app.UseSecureCookiePolicy();

Read more

References

Clone this wiki locally