How to Share Session Between ASP .NET MVC(.Net Framework 4.8) and ASP .NET CORE MVC(3.1)

Currently, we are developing a new feature with ASP .NET CORE 3.1 on our existing web application which runs on ASP .NET MVC(.Net Framework 4.8).

So we need to share the same session variables between ASP .NET MVC(.Net Framework 4.8) and ASP .NET CORE MVC(3.1)

We are able to share the credentials through cookies but we want to share the session variables. Kindly suggest to us the best way or procedure achieve it.

.NET Foundation Website | Blog | Projects | Code of Conduct