I need to redirect to the home page when the session\_end() method is called in my ASP.net MVC 5 application.

I have set the session timeout configuration on web.config 
And also I have added an action filter for if an action method is called when the session has been destroyed, the request is automatically redirected to the home page.

But now I need to automatically redirect to the login page when the session\_end() method is called.

```
void Session_End(object sender, EventArgs e)
    {
        string loginName2 = Environment.UserName;
        var allKiosks = new BLL.Services.svcInstanceKiosk().GetAllKiosks();
        var currentKiosk = allKiosks.Where(x => x.ComputerName.ToUpper() == loginName2.ToUpper()).FirstOrDefault();
        new BLL.Services.svcKiosk().UpdateKioskLoginStatus(currentKiosk.ComputerName, false, "NA")
        Response.Redirect("/Home/Login");
    }

```

are there any solutions for `Response.Redirect("/Home/Login");` line?

Thanks in advance.