State regulation of electronic commerce