_PageStart.cshtml in the .\Members Folder

@{

    Response.CacheControl = "no-cache";

 

    if (!WebSecurity.IsAuthenticated) {

        Response.Redirect("~/Login");

    }

}


Return to sample app.

Return to blog entry