create and store in cookie the list of trials to combine