Monday, August 1, 2016

Enable session State in SharePoint 2013


  As we know that ASP.NET storesession states as following:

Inproc which store session state on server memory,

SQLServer which store session state in database,

StateServer which store session dedicated server memory.

SQLServer and Session StateServer bothsupport server farm environment.

Since SharePoint is the multiple server farm environment based on ASP.NET framework, by default, it can be enabled to use SQL Server and SqlSessionStateStore provider to store session state using ASP.NET Session State Service Application.

Enable ASP.NET Session State Service

To enable ASP.NET session state, open Central Admin Server and login by the Account which has admin right on farm.


Run PowerShell command “Enable-SPSessionStateService –DefaultProvision” toCreates service application with default state. By default, this will create service application database with “SessionStateService_<GUID>”, on the same database server where farm configuration database is located using windows credentials of the logged in user.

Or Run PowerShell command “Enable-SPSessionStateService -DatabaseServerDatabaseServerName -DatabaseNameNameofDatabase” to Creates service application with specific database name on non-SharePoint configuration database server. By enabling Session State Service on your farm, it would create database on specified server – SessionStateService_<GUID>

 

Thank you very much

          Fahadullah Karimi

         SharePoint Specialist

Changing the language of an existing SharePoint site Configure SSL for SharePoint 2013.

1 comment:

  1. Sharepoint Tips And Tricks: Enable Session State In Sharepoint 2013 >>>>> Download Now

    >>>>> Download Full

    Sharepoint Tips And Tricks: Enable Session State In Sharepoint 2013 >>>>> Download LINK

    >>>>> Download Now

    Sharepoint Tips And Tricks: Enable Session State In Sharepoint 2013 >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete