ASP.NET Core Hosting Tips: Create Custom Session ID Manager
In ASP.Net, the SessionIDManager class is used to generate and validate the Session ID. By default, it is saved in a cookie with the name ASP.NET_SessionId. Get session ID by HttpContext class like below. HttpContext.Current.Session.SessionID This session id is randomly generated and encoded with 24 characters containing lowercase a to z and numbers 0 to […]