By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,827 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

cookies does not work under win xp + ie

P: n/a
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

Feb 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
js*******@attglobal.net
==================
Feb 16 '07 #2

P: n/a
Jerry Stuckle wrote:
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().

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
Feb 16 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.