How to set cookie with .htaccess?
I need to set a cookie across an entire site. Meaning any page visited on the site sets the cookie. I want it to last as long as possible.
I'm told this can be done with .htaccess.
Do you know the code that would set a site-wide cookie using .htaccess?
Also...
Is it possible to set a redirect in the .htaccess file based on a cookie?
Something like... "If cookie exits redirect to URL"
Do you have the code for that?
Thanks
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."