If your hairspray is larger than the allowed size, it will be confiscated by airport security, and you won't be able to take it with you on the plane.