Long-distance relationships, can they work?

Have you been in one? What made it work, or what made it end?

Tips for people who are about to start one.