We are developing a solution based on SharePoint 2013 Foundation. There is a new Distributed Cache service available in SharePoint 2013. When we checked the web.config for a new sample SharePoint web application, we found it was configured to use "In-proc" mode for storing session-state. Can we leverage this distributed cache service to store session state?
Also I saw powershell cmdlets for configuring session state in database in the following msdn article : http://technet.microsoft.com/en-us/library/ee890113.aspx. Is database a preferred way to store session state rather than Distributed Cache for SharePoint 2013?
Are there any other alternatives also available to store session state in SharePoint 2013?