Home > Articles > .Net Framework Articles > Advantages and Disadvantages of Session

Advantages and Disadvantages of Session

by John Prathip   on Sep 08, 2015   Category: .Net Framework  | Level: Beginner  |  Views: 1214    |  Points: 100   
Like this article? Bookmark and Share:
Following are the basic advantages and disadvantages of using session.

Advantages:


- It stores user states and data to all over the application.


- Easy mechanism to implement and we can store any kind of object.


- Stores every user data separately.


- Session is secure and transparent from user because session object is stored on the server.


Disadvantages:


- Performance overhead in case of large number of user, because of session data stored in server memory.


- Overhead involved in serializing and De-Serializing session Data. Because In case of StateServer and SQLServer session mode we need to serialize the object before store.



Like this article? Bookmark and Share:

Most viewed Articles

User Comments


No response found, be the first to review this article.

Submit feedback about this article

Please sign in to post feedback

Latest Posts