I have a logout action which directs to a logout view. The user information is still displayed after clicking the logout button. I fully logout after I go to a different url, why is this? How do I handle this? Client-side redirect?
Action:
public ViewResult LogOut()
{
FormsAuthentication.SignOut();
return View();
}
I use a javascript event to redirect the page.