Cookies have nothing to do with recurring commissions. Simply put, when the customer buys a product, all of their information is stored alongside your affiliate id. When they get rebilled, the affiliate id attached to the original sale will be automatically credited.