protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { // Look for filter from link search Filter = LinkSearchBuilder.GetYearFilter(Request); // Only if we have nothing from the links search, look into the cookies if (Filter == null) { Filter = CookieStorage.GetYearFilter(Request); } // Populate populateYear(); } }