Can anyone show me how to use cookies to prevent a user from clicking back to a page?

My client is doing an age verification check on one page and if you're over the age of 13, you go to one page, and if you're 13 or under, you go to another. They want to prevent the user from clicking back and adjusting their birthdate and they want to use cookies to do it.

Any ideas?