Hi there and welcome to my little project.
I want this system to work like this:
(The MODEL EXAMPLE that shows the system in action is at [login to view URL])
1) If a visitor comes to my webpage I redirect him to a nocookie landing page. (The first time)
There I ask for permission to set cookies before continuing onwards to the main site.
(Alternatively I continue to a text-only webpage.)
2) The second time he visits he gets redirected straight to the website.
The MODEL EXAMPLE that shows the system in action is at [login to view URL]
(I have my own version of this system running here: [login to view URL]
The code is here code ([login to view URL])
It works but need some .htaccess adjustments to complete it. Cookie checking for the first visit.)