I have added below line of code in startUp.cs,
services.ConfigureApplicationCookie(options =>
{
// Cookie settings
options.Cookie.HttpOnly = true;
options.ExpireTimeSpan = TimeSpan.FromMinutes(10);
});
But checkmarx still detected as an issue. Kindly help me to fix the Issue.