I am creating an application and want that determine what pages are displayed in a menu based on the user login. I am creating an application controller abstract class to pass data back to the master page but the http context is not initialized when the code get called. I was trying to avoid filters but I am lost. Any thoughts?
public abstract class ApplicationController : Controller
{
public ApplicationController()
{
string myuser = this.User.Identity.Name;
}
}