Results 1 to 2 of 2

Thread: Destroy Cookies

  1. #1
    Shadow121's Avatar
    Shadow121 is offline x10 Lieutenant
    Join Date
    Jul 2006
    Location
    Centerville
    Posts
    456

    Destroy Cookies

    I have a website that uses cookies and i need to know how to destroy them o.o This is a volnurability to: javascript: alert(document.cookie) and another code in which i wont post just in case.

  2. #2
    aking47 is offline x10Hosting Member
    Join Date
    Oct 2006
    Posts
    13

    Re: Destroy Cookies

    With PHP:
    <?php
    // set the expiration date to one hour ago
    setcookie ("TestCookie", "", time() - 3600);
    ?>

Similar Threads

  1. Destroy All Humans (xbox, ps2)
    By apple19 in forum Off Topic
    Replies: 3
    Last Post: 03-04-2006, 08:01 PM
  2. Cookies
    By Soulstorm in forum Free Hosting
    Replies: 8
    Last Post: 05-14-2005, 08:25 PM

Posting Permissions

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