when dd was doing this, i would go in put her down and say "it's time to go to sleep" and walk out immediately. then the next time I would go in, I wouldn't say anything, I'd just put her back down. I actually did this several times on a couple of nights, but she got the hint pretty fast. (I will add that I did let her cry in between times a little bit--not too much, just a little bit)