デュアル Set-Cookie を発行している Magento アプリケーションがあります。ヘッダーは次のとおりです。
HTTP/1.1 200 OK
Date: Wed, 18 Apr 2012 21:04:28 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.2.10
Set-Cookie: frontend=iti6c00cdm6cc79hfl1pl9pq52; expires=Wed, 18-Apr-2012 22:04:28 GMT; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: frontend=iti6c00cdm6cc79hfl1pl9pq52; expires=Wed, 18-Apr-2012 22:04:28 GMT; path=/; domain=**example.com**
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
状況によっては、ログイン後に 2 番目の Cookie が frontend=deleted に設定されます。私の読書から、2 つの frontend= Cookie は「問題」ではないように見えます。これは標準の Magento の動作です。仕様を読んだところ、スコープ/仕様が同じ場合、2 番目の frontend= Cookie が最初の Cookie を上書きします。
この問題を掘り下げて、2 番目の frontend= Cookie が最初の Cookie のように動作しない理由を確認できるアイデアはありますか?
Magento版はverのエンタープライズ版です。1.9.0.0
関連する質問