Optional secure cookie flag
-
On a https only website the plugin should be able to add the “secure” flag to the new created cookie. I added that attribute hardcoded for one of my sites and it seems to work.
/wp-content/plugins/wp-cookiechoise/js/cookiechoices.js Line 158:
document.cookie = cookieName + ‘=y; secure; expires=’ + expiryDate.toGMTString() + “;domain=” + document.domain + “;path=/”;
The topic ‘Optional secure cookie flag’ is closed to new replies.