Two weeks ago, when I flew TPE-HKG, I asked an FA to visit the cockpit about 20 minutes before departure. She told me that it hasn't been allowed in quite some time, not even at the gate. Therefore, I didn't even bother to ask on my HKG-JNB, JNB-HKG, and HKG-TPE flights.