combit List & Label 27 - .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 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also