Qus:    What are the main advantages and disadvantages of inproc session?
Nov 27, 2020 13:43 2 Answers Views: 92 SWEETY

Advantages of inproc session -



1. It is easiest option to implement because you don't need to configure anything. Just read and write session variables in code.

2. One more advantage of InProc mode is that you can put anything in session variables.

3. InProc mode works on shared web hosting.



Disadvantages of inproc session -



1. Reliability is first problem when using InProc.

2. Scalability is one more problem when using InProc mode.

3. Serialization/Deserialization is potential problem.

Prev Next
Answers (2)
PARTH Nov 28, 2020 02:29
Answer:   Advantages of inproc session -

1. It is easiest option to implement because you don't need to configure anything. Just read and write session variables in code.
2. One more advantage of InProc mode is that you can put anything in session variables.
3. InProc mode works on shared web hosting.

Disadvantages of inproc session -

1. Reliability is first problem when using InProc.
2. Scalability is one more problem when using InProc mode.
3. Serialization/Deserialization is potential problem.

SHIVA Nov 28, 2020 09:41
Answer:   1. Accessing the inproc session data will always be faster.
2. It is always good for small web applications
Disadvantages of Inproc session are as follows
1. It we restart the web server or if any crashes to the web server there is a chance of losing the session data.
2. If the session data is increased there is a burden on the web server, it will affect the performance of web server and web application.
3. It is not suitable for large web application models like web-garden and web-farm.

Post Your Answer
Guest User

Not sure what course is right for you?

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


Let`s Connect