[PHP] Clear ALL Cookies previously set

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: [PHP] Clear ALL Cookies previously set

    Eugene Lee wrote:
    >
    > But I don't know what might happen if you use setcookie() to expire a
    > cookie and then use setcookie() later on to set the same cookie.
    >
    [url]www.php.net/set_cookie[/url] :

    In PHP 3, multiple calls to setcookie() in the same script will be
    performed in reverse order. If you are trying to delete one cookie
    before inserting another you should put the insert before the delete. In
    PHP 4, multiple calls to setcookie() are performed in the order called.
    Marek Kilimajer Guest

  2. Similar Questions and Discussions

    1. Previously working connection fails
      I updated an older site. My setup is Mac OS X (Tiger) and Contribute 3. Client is using Contribute 1 on Windows XP. After my update, client was able...
    2. Different displays of previously-SELECTed data
      Before I shoot off down innumerable blind alleys... A pro bono site I'm doing at present produces quite a lot of data per query, and things are...
    3. Plz Help! Trying to have a box where I can EITHER type a new name or select a previously recorded name
      You can set the limit to yes = to yes. The, for the no in list even, you can use the follwing code: Private Sub Combo33_NotInList(NewData As...
    4. Previously owned copies of Windows
      Bill - you may only purchase a Retail copy of Windows XP pre-owned. (You may not transfer an OEM copy - so it is a breach of the license to resell ...
    5. How to identify a filter previously applied to a layer????????
      Hey there, I am creating DVD Menu's and created one a couple of weeks ago in which I applied a filter to the background image to lighten it up a...
  3. #2

    Default Re: [PHP] Clear ALL Cookies previously set

    On Mon, Sep 22, 2003 at 10:18:21AM +0200, Marek Kilimajer wrote:
    :
    : Eugene Lee wrote:
    : >
    : >But I don't know what might happen if you use setcookie() to expire a
    : >cookie and then use setcookie() later on to set the same cookie.
    :
    : [url]www.php.net/set_cookie[/url] :
    :
    : In PHP 3, multiple calls to setcookie() in the same script will be
    : performed in reverse order. If you are trying to delete one cookie
    : before inserting another you should put the insert before the delete. In
    : PHP 4, multiple calls to setcookie() are performed in the order called.

    This only explains how cookies are sent from a PHP script. My question
    (sorry, should've been clearer) deals with how the browser handles such
    multiple cookies.
    Eugene Lee Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139