cookie based sets multiple cookies
-
Hello,
We’re using the cookie based method, to avoid issues with litespeed cache.
add_filter (‘wcml_user_store_strategy’, function($strategy, $key) {
return’cookie’;
}, 10, 2);However, we’re setting multiple sets of cookies being set, typically between 2 to 3 duplicate sets. E.G
Set-Cookie:
wcml_client_currency=GBP; expires=Tue, 02 Jul 2024 16:26:50 GMT; Max-Age=172800; path=/; secure
Set-Cookie:
wcml_client_currency_language=en; expires=Tue, 02 Jul 2024 16:26:50 GMT; Max-Age=172800; path=/; secure
Set-Cookie:
wcml_client_country=GB; expires=Tue, 02 Jul 2024 16:26:50 GMT; Max-Age=172800; path=/; secure
Set-Cookie:
wcml_client_currency=GBP; expires=Tue, 02 Jul 2024 16:26:51 GMT; Max-Age=172800; path=/; secure
Set-Cookie:
wcml_client_currency_language=en; expires=Tue, 02 Jul 2024 16:26:51 GMT; Max-Age=172800; path=/; secure
Set-Cookie:
wcml_client_country=GB; expires=Tue, 02 Jul 2024 16:26:52 GMT; Max-Age=172800; path=/; secureI can see a similar issue with wp-rocket here but it doesn’t appear to have been fixed:
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.