New York is attempting to force e-Commerce businesses to pay the New York sales tax on any sale originating from a New York based affiliate.
I wonder how this should technically work ?

Guess that no business will have official New York based affiliates... instead of paying them a commission for done sales, they simply pay a "consultation fee" or something that cannot be associated with affiliate marketing ;-)

Also if an affiliate just forwards visitors to your website (just click-through commissions), it is nearly impossible to know which sales origin from which affiliate. The necessary tracking would be quite tricky.

And I thought that Europe's sales tax system is complex ;-)