Search engine

Question by JSWarner_7:
How would I setup a script/cookie that will grant visitors to not have to sign up on each visit to my site?

My intent is when visitors sign up for my newsletter it will take them to another page. After that, I wanted visitors to not have to sign up again just to go to the main page. What kind of script/cookie would I need? Please help.


——————————————

Answer by Wyatt
you need to set a persistent cookie. this is done by setting an expiration date for the cookie sometime in the future. this will tell the browser to save it on the user’s hard drive rather than just in memory.

——————————————
Know better? Leave your own answer in the comments!