Following are the basic advantages and disadvantages of using session. I have describe in details with each type of session at later point of time.
Advantages:
- It helps maintain user state and data all over the application.
- It is easy to implement and we can store any kind of object.
- Stores client data separately.
- Session is secure and transparent from the user.
Disadvantages:
- Performance overhead in case of large volumes of data/user, because session data is stored in server memory.
- Overhead involved in serializing and de-serializing session data, because in the case of
StateServer
andSQLServer
session modes, we need to serialize the objects before storing them.
0 comments:
Post a Comment