Surprised not to have seen Mad Honk weighing in. His day job is customizing golf clubs, IIRC. To put rubber golf grips on steel shafts, mineral spirits are the lubricant of choice. Often the case that masking tape is applied as a first layer. Generally, this results is a grip that won't come loose.
That said, hairspray probably works great.