SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: unset cookie

  1. #1
    Get my greedy down dotJoon's Avatar
    Join Date
    Apr 2003
    Location
    daejeon, South Korea
    Posts
    2,211
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    unset cookie

    I like to delete cookie. but the code below seems not to work correctly.
    Code:
    <?php
    unset($myCookie);
    ?>
    How can I remove the cookie which is set by "setcookie("myCookie", 1);".

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •