'ASP.Net Framework 4.8 prevent caching of User.Identity.Name attributes

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


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source