Qus:    What are the disadvantages of using session?
Nov 05, 2020 11:23 DotNet 2 Answers Views: 1378 SAI

 



Following are the disadvantages of using Session -



1. Performance overhead in case of large volumes of data/user, because session data is stored in server memory.



2. Overhead involved in serializing and de-serializing session data, because in case of StateServer and SQLServer session modes, we need to serialize the objects before storing them.

Prev Next
Answers (2)
TEJA Nov 07, 2020 07:25
Answer:   The disadvantages of using session are:
o Performance overhead occurs in case of large number of users, because session data is stored in server memory.
o 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.

PARTH Nov 10, 2020 14:43
Answer:   Following are the disadvantages of using Session -

1. Performance overhead in case of large volumes of data/user, because session data is stored in server memory.

2. Overhead involved in serializing and de-serializing session data, because in case of StateServer and SQLServer session modes, we need to serialize the objects before storing them.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect