Это я понял. Но не понял, почему при последующем обновлении страницы COOKIE по прежнему приходят неизменными, т.е. сколько раз я бы не обновлял страницу (не делал setcookie('order', "", time() - 86400, '/');) всегда выводятся одинаковый массив.
Проанализировал заголовки запроса вкладки нетворк браузера.
Response Headers:
Connection:
Keep-Alive
Content-Encoding:
gzip
Content-Length:
484
Content-Type:
text/html; charset=UTF-8
Date:
Mon, 10 Aug 2020 21:41:54 GMT
Keep-Alive:
timeout=5, max=100
Server:
Apache/2.4.18 (Ubuntu)
Set-Cookie:
OCSESSID=ad93c18b8f9c9f80d50259da1b; path=/
Set-Cookie:
language=ru-ru; expires=Wed, 09-Sep-2020 21:41:54 GMT; Max-Age=2592000; path=/; domain=thinklinkers.local
Set-Cookie:
order=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/
Vary:
Accept-Encoding
Request Headers:
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,ru;q=0.8
Cache-Control: no-cache
Connection: keep-alive
Cookie: _ym_uid=15549136121045367742; _ym_d=1589552091; currency=RUB; language=ru; currency=USD; coockiesaccept=1; OCSESSID=ad93c18b8f9c9f80d50259da1b; language=ru-ru; PHPSESSID=gbr2g3e6qvr1pu35aq9cuiel10; order%5Bpromocode%5D=; order%5Bmessage%5D=; events%2Fmdm__master_data_marathon; order%5Bevent_name%5D=MDM%20%20Master%20Data%20Marathon%203PM%20CET%2C%20%2029th%20September%202020; username=Andrey2; order%5Bname%5D=Andrey2; email=Andrey2; order%5Bemail%
[email protected]; phone=Andrey2; order%5Bphone%5D=%2B79009996565; order%5Btariff%5D=125
Host: thinklinkers.local
Pragma: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1
Что делаю не так?
Куки, кстати, создаю при помощи jquery.cookie.js