how to avoid Session Fixation in dot.net core mvc application.
below code i updating in user Login.
string guid = Guid.NewGuid().ToString();
HttpContext.Session.SetInt32("UserId", userData.Id);
Response.Cookies.Append("AuthToken", guid, cookieOptions);
but Its not working.
Kindly suggest.