We have done both:
A. Buy a refundable ticket, print a boarding pass, and then cancel the flight; and
B. Simply ask for a gate pass.
IMHO, asking for the gate pass is easier and less trouble, but it probably only works if you have status and are well known at the airport.