When we cough, we can initiate what is called the vagal reflex. That can make you feel faint. The vagal nerve controls the pulse and things like coughing, straining on the toilet, cold water, vomiting or holding your breath can all stimulate the vagal reflex, resulting in a temporary slowing of your pulse/heart beat, with lightheadedness the result.
Of course, the best way to avoid that feeling is to prevent coughing with effective asthma treatment. But if that doesn't always work, then at least be prepared. If you start to feel faint, sit down and put your head between your knees or lie with your feet higher than your heart. That should help relieve it.
To your health,
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.