SharePoint 2013

SharePoint: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included.

While installing SharePoint, Session State is disabled by default. If you have used session in any farm solutions then you might face this error. Error: Session state can only be