When I login with a user, log out and sign in again with a different user it seems to retain the previous user details.
This is not the case when in Incognito mode so I assume it is cached.
How can I prevent caching, or is it out of my control?
Dim user = User.Identity.Name;
Dim claims = ClaimsPrincipal.Current.Identities.First().Claims.ToList()
For Each claim In claims
'Iterate claims