I attempted to delete the user's authentication cookie using $cookieStore.remove('.ASPXAUTH')
. Despite this, when I refresh the page, the cookie persists and the user can still access the page instead of getting redirected to the login page.
What could be the reason behind the user's continued access to the page even after the authentication cookie is removed and the page is refreshed?