I have the following situation that I am struggling with. I need to display an intro page before the main website home page, but it should only appear once per visitor. I think the method would be this:
index.php loads and writes cookie
index.php loads and reads cookie
If cookie exisits, redirect to home.php
What is the best way to accomplish this? I would need to know the [PHP?] code for writing and reading cookies as well as how to redirect to another page based on the existence of the cookie.
[I understand that if the user clears their cache that the cookie goes along with it]