Cookie duration or cookie life, in simple terms, is how long an affiliate link can generate commissions for the affiliate. If the cookie duration for an affiliate program is 30 days, then all purchases made using that link within that timeframe earns the affiliate a commission. Once the cookie duration lapses, it is no longer eligible. Thus, the longer the cookie duration, the more chances an affiliate has of earning a commission from their link.