• Hi.

    I created a multisite with 6 websites with their own URL’s meaning not subsites. I have the plugin activated on all the sites and they each have their own age consent page. The sites also have links to each other.
    What I need to know, is there any way that when a user goes to any of the sites and verifies their age that the consent can carry over to the other sites. We don’t want customers to have to consent to every single site.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @chutneybar,

    The short answer is you can’t if your sites are on different domains. Cookies, local storage etc are designed that way primarily for security purposes. There have been loop holes that are discussed on places like stackoverflow but they’re probably not the best idea – plus many have been closed off.

    The slightly longer answer is maybe, but probably not accurately. What I mean by that is as you have all the tables for all the sites in one place, you could create a sessions table with a unique key and do a lookup when a user lands from site to site. I say this is unlikely to be accurate as the only real identifier you could use is IP address, and that could be multiple people in a shared space, so potentially allowing people in you don’t want to. There’d also probably be some latency in showing age gate or not too, but probably only for the first hit (you wouldn’t call it again if they had the cookie, for instance). You’d also need to consider garbage collection too. It’d quickly get quick complicated I think, but if you have developers at your disposal, probably doable.

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite Functionality’ is closed to new replies.