setcookie fails to set cookie!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pedro

    #16
    Re: setcookie fails to set cookie!

    Janwillem Borleffs wrote:[color=blue]
    >
    >I think this is an
    >undocumented feature of the setcookie() function (group, please correct me
    >if I'm wrong).[/color]

    http://www.php.net/setcookie (for some reason not working right now


    <copypaste>
    Cookies must be deleted with the same parameters as they were set
    with. If the value argument is an empty string (""), and all other
    arguments match a previous call to setcookie, then the cookie with the
    specified name will be deleted from the remote client.
    </copypaste>


    --
    "Yes, I'm positive."
    "Are you sure?"
    "Help, somebody has stolen one of my electrons!"
    Two atoms are talking:

    Comment

    • Janwillem Borleffs

      #17
      Re: setcookie fails to set cookie!


      "Pedro" <hexkid@hotpop. com> schreef in bericht
      news:8ikklvo1fj f6k58l6f4ev6b3t 9iuls1usa@4ax.c om...[color=blue]
      >
      > <copypaste>
      > Cookies must be deleted with the same parameters as they were set
      > with. If the value argument is an empty string (""), and all other
      > arguments match a previous call to setcookie, then the cookie with the
      > specified name will be deleted from the remote client.
      > </copypaste>
      >[/color]

      Doesn't match the bill entirely, because the behaviour also occurs when
      there aren't previous calls to setcookie.

      JW



      Comment

      Working...