EnableSessionState Property
By default, in requests from the Windows Client Web Designer to the server there is no support to use HttpContext.Session because this has a bad impact on the application performance. Set this property to True to be able to use HttpContext.Session in server code that is called from the Windows Client Web Designer (e.g. in your repository class).
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9