Connection has long been the standard spelling in both American and British English. The variant connexion was briefly more popular in the early 1800s but has since become effectively extinct.