I've check all the info I can find on cookies and I have gotten some
idea of how to set a cookie, set the expiration, and get the cookie
value.
But I need help bringing it all together to accomplish what I need to
do.
When someone first visits a signup page, I want them to see a popup
that says they can sign up within the next 30 days without having to
pay an appication fee. Then each time they revisit over the next 30
days, the popup displays a message that says "X days left to save."
Finally, after the 30 days expires, they need to go to a different
signup page...one that contains and requires the signup fee.
I get the set cookie concept. Does the popup get generted within the
get cookie script? And what about sending people to the other page
after 30 day? Is that a different script? Do I need a more persistant
cookie to distinguish between new visitors and someone who has already
hit the page and did not signup within 30 days?
All help / suggestions appreciated!