locked
Getting error 'Session' does not exist in the current context for the following code snippet RRS feed

  • Question

  • User2056817590 posted

    Please let me know the relevant code snippet in .NET Core 

    foreach (String key in Session.Keys)
                {
                    _logger.Debug(String.Format("Session Key={0}, Value={1} ", key, Session[key]));
                }

    Wednesday, April 14, 2021 6:05 AM

All replies