How to redirect user if they have a cookie javascript

CioNide

New Member
I need to know how to give the user a cookie when they visit the page for the first time in javascript. Then i need the cookie to expire in 1 hour and it to redirect them if the cookie still exists and they try to access the page before 1 hour is up.
 
Back
Top