ASP.NET has two types of cookies:

  • Persistent Cookie: presents on a user’s machine for a specified period of its expiry
  • Session Cookie: presents on the client machine for only a single session, until the user doesn’t log out.
BY Best Interview Question ON 20 Jan 2019