combit List & Label 29 - .NET Help
combit.Reporting.Web.WindowsClientWebDesigner.Server Namespace / WindowsClientWebDesignerConfig Class / EnableSessionState Property


In This Topic
    EnableSessionState Property
    In This Topic
    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).
    Syntax
    'Declaration
     
    
    Public Shared Property EnableSessionState As Boolean
    public static bool EnableSessionState {get; set;}
    public:
    static property bool EnableSessionState {
       bool get();
       void set (    bool value);
    }
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also