Describe the bug
Hi,
I am working on a project upgrading webform app into blazor server app, for session sharing I used the same thing you mentioned here. Everything working fine I am able to be getting session created at WebForm app into the blazor page.
But When I am on blazor page and trying to go back to any webform app page even when I try to reload the same blazor page the page is loading infinite and after some time throwing the error

Could you please help me out into this, how I can fix that thing.
Programe.cs


Global.asax.cs:

Thanks
Further technical details
Please include the following if applicable:
ASP.NET Framework Application:
- Technologies and versions used (i.e. MVC/WebForms/etc): WebForms
- .NET Framework Version: 4.8
- IIS Version:
- Windows Version:
ASP.NET Core Application:
- Targeted .NET version: .NET 8
- .NET SDK version: