I want to create a helper that searches through session data, Preferably something like this:
public static bool CheckForModerator(this HtmlHelper htmlHelper)
{
return Session["isAdmin"];
}
But i cannot access Session[] data. I tried looking through htmlHelper, but i cannot find Session there either. What do i need to do in order to access Session data?
and then