Maybe I have a strong rxn to these pills but....
....both Ambien and Sonata put me to sleep and kept me asleep...AND made it hard for me wake up. I definately felt the 'sleep hangover' the next day.
I recommend testing how your body reacts to these pills before you try popping them on a flight.
On a homeopathic note I use Sleepytime tea (mainly chamomile). On a non-homeopathic note I've also used Benadryl.