question

suyogmahindrakar-5014 avatar image
0 Votes"
suyogmahindrakar-5014 asked CaseyYangMSFT-4714 commented

pros and cons of enabling sharepoint session in 2013

Hi All,

We want to enable sessions in Sharepoint 2013 , before enabling want to know pros and cons of enabling session in SharePoint 2013 server



@trevorseward

sharepoint-devoffice-sharepoint-server-development
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CaseyYangMSFT-4714 avatar image
0 Votes"
CaseyYangMSFT-4714 answered CaseyYangMSFT-4714 commented

Hi @suyogmahindrakar-5014,

Per my research, the advantages of using session state are as follows:

  1. It is easy to implement.

  2. 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.

  3. It works in the multi-process configuration, thus ensures platform scalability.

The disadvantages of using session state are:

  1. 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.

For Reference: Advantages and disadvantages of using Session


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @suyogmahindrakar-5014,

Is there any progress on this thread? Please comment here if you still need help.

0 Votes 0 ·