I am currently working on migration of our customer's On-Premise infrastructure to Azure.
Website was developed by some other vendor. In Sitecore application I found that only shared Session connection string is mentioned. When I have checked session state mode. It was configured as below.
Connection string
<add name="sharedsession" connectionString="user id=user-id;password={some-pwd};Data Source=db-server;Database=Sitecore.Sessions" />
Session State
<add name="mssql" type=" Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql" connectionStringName="sharedsession" pollingInterval="2" compression="true" sessionType="private"/>
Currently, customer is not using any Analytics. However in near-future, it may start using that. Does this mean above session is actually 'Private" session despite being marked as shared.
What is the correct way to configure it? Should I go ahead and change sessionType as "shared" Do I need to add both shared and private session state?
Update
Will it be okay if I use same database for both Shared and Private session? I mean, let's say only one connection string with name as "sharedsession" for which I will configure session state in web.config and Sitecore.Analytics.Tracking.config patch
Environment
Sitecore v8.1 Update 2 with xDB Cloud 2 CD instances.