combit List & Label 25 - .NET Online Web Help
EnableSessionState Property


combit.ListLabel25.Web.WebDesigner.Server Namespace > WebDesignerConfig Class : EnableSessionState Property
By default, in requests from the 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 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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

WebDesignerConfig Class
WebDesignerConfig Members