Makeup exams and posting solutions
Don't give the same exam as a makeup exam.  Rather, write a separate exam to use for makeups.  Even if you haven't given out a set of solutions or returned graded papers, students  who took the main exam are likely to have shared information about the exam with students who need to take a makeup.