---
title: "What are the different types of cookies in ASP.NET?"  
description: "What are the different types of cookies in ASP.NET?"  
author: "Anonymous User"  
published: 2018-04-24  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/23389/what-are-the-different-types-of-cookies-in-asp-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# What are the different types of cookies in ASP.NET?

**Persistent cookies:** Persistent cookies are stored on your computer hard disk as a text file. It can be accessed by web servers until they are deleted or have expired.

**Non-persistent cookies:** Non-Persistent cookies are saved only while your web browser is running.This is temporary memory it is also called in-memory cookies and session based cookies.

## Answers

### Answer by Anonymous User

**Persistent cookies:** Persistent cookies are stored on your computer hard disk as a text file. It can be accessed by web servers until they are deleted or have expired.

**Non-persistent cookies:** Non-Persistent cookies are saved only while your web browser is running.This is temporary memory it is also called in-memory cookies and session based cookies.


---

Original Source: https://www.mindstick.com/interview/23389/what-are-the-different-types-of-cookies-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
