Search Results for

    Show / Hide Table of Contents

    Enum SessionIdLoggingMode

    Determines how request logging enriches log events with a session identifier.

    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public enum SessionIdLoggingMode

    Fields

    Name Description
    CookieHash

    Enrich log events with a one-way hash of the session cookie value. This provides the same per-session correlation as SessionId without loading the session from its store, so it never incurs a distributed-cache round-trip.

    None

    Do not enrich log events with a session identifier.

    SessionId

    Enrich log events with the actual ASP.NET Core session id. This is the default and matches the historical behaviour, but reading the session id forces the session to be loaded from its store, which is a blocking round-trip per request when the session is backed by an IDistributedCache.

    Extension Methods

    ObjectExtensions.ToXmlString(object, Type)
    ObjectExtensions.ToXmlString<T>(object)
    ObjectExtensions.TryConvertTo(object, Type)
    ObjectExtensions.TryConvertTo<T>(object)
    ExpressionHelper.GetPropertyInfo<SessionIdLoggingMode, TProperty>(SessionIdLoggingMode, Expression<Func<SessionIdLoggingMode, TProperty>>)
    DictionaryExtensions.MergeLeft<SessionIdLoggingMode, TK, TV>(SessionIdLoggingMode, IDictionary<TK, TV>, bool)
    DictionaryExtensions.MergeLeft<SessionIdLoggingMode, TK, TV>(SessionIdLoggingMode, IEnumerable<IDictionary<TK, TV>>, bool)
    EnumerableExtensions.Yield<SessionIdLoggingMode>(SessionIdLoggingMode)
    ObjectExtensions.AsEnumerableOfOne<SessionIdLoggingMode>(SessionIdLoggingMode)
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX