SessionStateSection.CompressionEnabled Property
.NET Framework (current version)
Gets or sets a value that indicates whether compression is enabled for session-state data.
Assembly: System.Web (in System.Web.dll)
[<ConfigurationPropertyAttribute("compressionEnabled", DefaultValue = false)>] member CompressionEnabled : bool with get, set
Property Value
Type: System.Booleantrue if compression is enabled; otherwise false. The default is false.
When the CompressionEnabled value is set to true, ASP.NET uses the GZipStream class to compress and expand session-state data.
.NET Framework
Available since 4.0
Available since 4.0
Show: