Hey Adam! No the logic is:
The assessment has a three try lockout so I have an attempts variable that is retained between sessions. If the user quits in the assessment on any attempt at any time, when going back to the assessment they have to begin at the beginning of the assessment while still retaining the attempts.
What is happening is that if the user quits on the first attempt, the rerouting of the AICC_Lesson_Location to the beginning of the assessment (which is an instruction page displaying their attempts) works. But if they then submit that assessment and fail, on their second attempt of the assessement, if they close the course again, the ‘view last page’ is not prompted and it just goes to the start of the course and the attempts are back to the first attempt.
It seems the AICC_Lesson_Location variable gets broken after they complete the assessment once.