I need all the code to implement a cookie for a client's website.
When the user enters their site from any page, the page should check to see if they have agreed to the terms. If not, it should take them to the agreement page. From there, it they agree to the terms, it will show them the page they were requesting. If not, it will take them to an exit page.
All the HTML is in place on the site now, but the current cookie isn't functioning correctly ([url removed, login to view]).