Cookies disappear after adding Set-Cookies in .htaccess? Here is how to get them back

November 27, 2018

I needed to set a cookie via .htaccess, to ensure it was always in the browser, regardless of what the website was doing. Setting a cookie is rather easy, it will look similar to: Header set Set-Cookie “cookieName=value; Expires=Wed, 15 May 2222 07:28:00 GMT” The next morning I attempted to login to the site and