cookies does not work under win xp + ie

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

    cookies does not work under win xp + ie

    I have problem:
    function setcookies does not work under Xp + IE
    i wrote

    setcookie('name ', '$value', false, '/', 'false', 0);


    its all in php script and nothing, no cookies sent. But only on IE, i
    start page on Opera or Mozzilla and it works, only on IE no.
    Dont know anyone reason?
    Please help, thanks

  • Jerry Stuckle

    #2
    Re: cookies does not work under win xp + ie

    comper wrote:
    I have problem:
    function setcookies does not work under Xp + IE
    i wrote
    >
    setcookie('name ', '$value', false, '/', 'false', 0);
    >
    >
    its all in php script and nothing, no cookies sent. But only on IE, i
    start page on Opera or Mozzilla and it works, only on IE no.
    Dont know anyone reason?
    Please help, thanks
    >
    The third parameter should be the timeout value, not true/false.

    The fifth parameter should be a domain name or empty, not true/false.

    See the documentation for setcookie().


    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Curtis

      #3
      Re: cookies does not work under win xp + ie

      Jerry Stuckle wrote:
      comper wrote:
      >I have problem:
      >function setcookies does not work under Xp + IE
      >i wrote
      >>
      >setcookie('nam e', '$value', false, '/', 'false', 0);
      >>
      >>
      >its all in php script and nothing, no cookies sent. But only on IE, i
      >start page on Opera or Mozzilla and it works, only on IE no.
      >Dont know anyone reason?
      >Please help, thanks
      >>
      >
      The third parameter should be the timeout value, not true/false.
      >
      The fifth parameter should be a domain name or empty, not true/false.
      >
      See the documentation for setcookie().
      >
      >
      The second parameter should not have single, or any quotes around it,
      in this case. The cookie value will be the literal string: $value.

      --
      Curtis

      Comment

      Working...