I suspect one of you brilliant folks in the EE community will be abel to help me. I need to add a disclaimer-style checkpoint prior to entering a given template group within an EE site. Specifically, it's a medical site with a before and after gallery and some photos in the gallery could be perceived as graphic in nature - and so I want a "visitor beware" kind of selection screen before the user gets into that section. So I'm looking for a way to have the following happen:
1) Upon accessing a give template group path (domain.com/example) a modal window opens with a brief disclaimer allowing the user to choose yes or no to proceed.
2) If yes, the user continues to the template group, if no, they continue to a URL path I designate (probably a placeholder, wherein they would continue to browse the rest of the site and I also give them the ability to reverse their previous no to a yes)
3) the selection that they make in the modal is persistent for, let's say, a browser session. They are still forced to make that same choice the next time they visit the site, even if on the same day, within the browser session.
4) In being a persistent value, the next time they browser to domain.com/example, the rule dictated by their previous selection or yes versus no is enforced. If they clicked yes, they simply access domain.com/example unfettered. If they clicked no, they are routed to the "alternative" landing page wherein they are presented the opportunity to change their mind and select yes.
Anyone done this before? Advice on how to approach this?