That's standard behavior in most affiliate programs, not just Amazons. They just place a sitewide cookie (or less typically, a session variable) with the affiliate's ID in it, as you guessed. It's usually not tied to the purchase of any one particular item, which is what the quote is referring to.