Yes, marking attendance for every session attended is mandatory. You will only be able to mark attendance 15 mins before and after the session start time.