About a week ago I was boarding an Avianca A320 (SFO-SAL). When I got on the plane, I asked a flight attendant if it’s possible to visit the cockpit, before I finished my sentence, he simply says “No.”
Being the persistent person I am, I asked the senior flight attendant, she said I can, but after the flight. I decide to wait until the flight is over.
I walk towards the exit (I forgot) and the flight attendant who said “No” stops me and says “The captain would like to speak to you.”
I walk towards the cockpit and the captain politely greets me, we had a small conversation, and he let me wear his hat. It was pretty awesome! I took pictures of the cockpit, and I left. That was about it.