Scott Haneda <[EMAIL PROTECTED]> writes:
> Cross domain cookies are indeed possible, look at microsoft.com, msn.com and
> msnbc.com which indeed do share your cookies from one site to the next,
> however, they do it by redirects and get/post methods, which is perfectly
> legit since they control t
Yes!!! I got it to work!
The problem was the expirationdate in the cookie:
setcookie("devProcTailorCookie", "cookie value"."|".time(), 31536000);
Now I set it like this:
setcookie("devProcTailorCookie", "cookie value"."|".time(), time()+10);
But now it doesnt work in explorer. But I would b
Another thing!
when I look in netscape/preferences/privacy&security/cookies/view Stored
Cookies..
there is no cookie for my website.. isnt that strange?
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried your stuff but it didnt help me!
Still works in explorer but when I tried it in netscape
It says ERROR!!! in netscape
if (isset($devProcTailorCookie))
{
$tok = explode("|", $devProcTailorCookie);
}
else
{
echo "ERRROR!!!";
}
I have global_variables turned on in my php.ini
/Martin
As opposed to using the Cookies Array HTTP_COOKIES_VAR
could you not just use explode the $devProcCookie using
if (isset($devProcCookie)){
$tok = explode("|", $devProcCookie);
}
//Note this will only work if the global variables in your php.ini files
are turned on...
I have no idea why it can'
"Martin Johansson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi!
Cookies makes me go AGHH!!
Please help me with this:
I am setting a cookie like this in my loginscript:
setcookie("devProcCookie", "cookie value"."|".time(), 31536000); // Set
cookie
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.cooki
es
Use Superglobals...you will see what I mean.
Also, Apache 2.0 is not recommended as of yet for PHP commercial development
http://www.apacheweek.com/issues/02-06-07
Regards,
Craig
"Scott 'Intense!' Reismanis" <[EMA
You are getting that error because you have sent output to the browser
BEFORE you try to set the cookie information. When dealing with cookies, it
is important to do all processing before sending any output to the browser.
Jeremy Reed
"Steve Osborne" <[EMAIL PROTECTED]> wrote in message
002b01c
8 matches
Mail list logo