Hi all

I hope this is the right place for this question, since form what little I know, cookies are set using javascript.

Here's what I'd like to do on my self-hosted Wordpress website.

1. I'd like to set a cookie when a person visits one particular page on my website, let's call it Page 1.
2. Then, when that visitor goes to another unrelated page (Page 2), he/she gets automatically redirected to Page 3 (because of the cookie that was set when they visited Page 1). Visitors without the cookie, don't ever get to see Page 3.

Is this doable?

Thanks so much.