On a recent flight from Toronto to Port-of-Spain Trinidad; onboard BWIA's 738 NG, I requested a flight deck visit.
On the basis that I am a trinidad national, flying my national carrier and a licensed commercial pilot, I was still denied entry up front.
The F/O said that ground visits were allowed, but not inflight. Not my cup of tea!
One particular BWIA 738 Captain told me that inflight visits are only allowed if the Captain knows the passenger personally. Unfortunately, he was not on the same flight as I was.