I've never been prescribed either drug, but both my father and Fiancée have had both. Ambien is habit forming, no matter what anyone tells you. It is not meant to be used to long periods of time... My girl friend was up to 2.5 of her normal dosage before they were affective. My father has a stupid sleep schedule dictated by his work (railroad), and needs the pills to help fall asleep at 3 in the afternoon one day, and 12 the next... Both have said that the Ambien left them groggy the next day. Lunesta... My girl has been taking this for <2 months, and my father for 3 months.... Dad likes it better.. but doesn't take it UNLESS he has to fall asleep fast. The girl has been ramping up her dosage... now at 1.5 pills from the initial 1....
My dad is also on a CPAP for his sleep apnea (SP).... His cpap helps him fall asleep, and sleep better when he has "time" to fall asleep.
I would recommend having a sleep study done before getting any prescriptions.... being a slave to prescriptions is scary....I hope you find something that works