Http Cookies

An HTTP cookie (web cookie, browser cookie) is a small piece of data that a server sends to the user's web browser. The browser may store it and send it back with the next request to the same server. Typically, it's used to tell if two requests came from the same browser keeping a user logged-in, for example. It remembers stateful information for the stateless HTTP protocol.

Cookies are mainly used in below

Session management
  • Logins, shopping carts, game scores, or anything else the server should remember
Personalization
  • User preferences, themes, and other settings
Tracking
  • Recording and analyzing user behavior


Syn


<httpCookies domain="String"  httpOnlyCookies="true|false" requireSSL="true|false" />


domain
Optional String attribute.
Sets the cookie domain name.
httpOnlyCookies
Optional Boolean attribute.
Enables output of the HttpOnlyCookies cookie in Internet Explorer 6 SP1.
Default value is false.
requireSSL
Optional Boolean attribute.
Sets a value indicating whether Secure Sockets Layer (SSL) communication is required.

Comments

Popular posts from this blog

Email Sending through O365 using OAuth Protocol

IISRESET vs App Pool Recycling ?

Deploy .Net6.0 Web api with docker