---
title: "Advantages and disadvantages of using Session State."  
description: "Advantages and disadvantages of using Session State."  
author: "Pushpendra Singh"  
published: 2010-10-25  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/115/advantages-and-disadvantages-of-using-session-state  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 2 minutes  

---

# Advantages and disadvantages of using Session State.

**The advantages of using session state are as follows:** \
It is easy to implement.\
It ensures data durability, since session state retains data even if ASP.NET work process restarts as data in Session State is stored in other process space. \
It works in the multi-process configuration, thus ensures platform scalability.

**The disadvantages of using session state are:** \
Since data in session state is stored in server memory, it is not advisable to use session state when working with large sum of data. Session state variable stays in memory until you destroy it, so too many variables in the memory effect performance.

## Answers

### Answer by Pushpendra Singh

**The advantages of using session state are as follows:** \
It is easy to implement.\
It ensures data durability, since session state retains data even if ASP.NET work process restarts as data in Session State is stored in other process space. \
It works in the multi-process configuration, thus ensures platform scalability.

**The disadvantages of using session state are:** \
Since data in session state is stored in server memory, it is not advisable to use session state when working with large sum of data. Session state variable stays in memory until you destroy it, so too many variables in the memory effect performance.


---

Original Source: https://www.mindstick.com/interview/115/advantages-and-disadvantages-of-using-session-state

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
