We have terrible flies around our area...lots of farms I guess. I buy 3 of the white plastic holders that have a yellow pest stip inside. I put one just inside the back door..and two in the kitchen...NO flies! I think the brand is called Hot Shot..They gave them at Walmart.
I never tried hair spray.