Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
過去の日時で setcookie を使用して Cookie を期限切れにすることと、 unset($_COOKIE) を使用することの違いは何ですか? 違いはどこにありますか?
HTTP Cookie を介して現在のスクリプトに渡される変数の連想配列。
ソース。
したがって、unset()メンバーを ing しても実際の Cookie には影響しません。
unset()
Cookie を削除するには、常に経過した日時を設定する必要があります。