I have suffered from insomnia for years. By 'suffered,' I actually mean 'wanted to poke red-hot pokers through my own eyes just to get some damned sleep on some nights.'
Ambien helps sometimes, except when it doesn't, and even I can't predict when it will work. It's bad enough that I have trouble getting to sleep in the first place -- once I'm there, I don't stay asleep. It's to the point where sometimes I find myself mildly hallucinating during the day on the worst nights.