Decrypt ".AspNetCore.Session" cookie in ASP.NET Core
<p>In Asp.Net core, a cookie is created when you configure your app to <code>app.UseSession()</code>. 
By default the cookie is called ".AspNetCore.Session". Its value identifies the session to be used. Currently, I'm saving my session data on a sql server. I need to know the decrypted value of ".AspNetCore.Session" so that I can lookup the session in the database. </p>

<p>Is there a way to decrypt this value? I know ASP.NET must do it behind the scenes somehow. </p>