Logout in MVC using Session without JavaScript/JQuery
===

Hi I'm relatively new to MVC 3 and I'm working with logging out my application, I managed to do the logging in, staying logged in even if website is opened on another tab.

All of my views (except for the home, of course) has this:

> `<a href = "@Url.Action("Index", "Home")">Logout</a>`

and in my controller I have this:

> `public ViewResult Logout()
        {
            Session.Abandon();
            return View("Index", "Home");
        }`

and the app is not logging out, instead it is returning the current view.

Please help me understand what to do, and I would like to take note that I am using ViewResult instead of ActionResult, I'm not also going to use JavaScript or JQuery, because I'm making this app to show how MVC works.