I used to sleep with my baby in the cot till she fell asleep and i will creep out after. She will sleep throughout the night on her own.
I tried carrying her till she sleeps (deep sleep btw) but SOMEHOW, God knows why, will stiiiiil wake up and cry when i put her in the cot. Sigh. Haha. Cn be pretttty frustrating at times but hey, we mommies cn ONLY, and, finally get our sleep when our kid sleeps. So I guess might as well accompany her inside so she'll feel secure and sleep soundly.