I have a WebSpeed page that is passing to my php page. They are using
session cookies to test for login status. I didn't think there was
anyway for me to test for a session cookie set by another language using
php. So I had them create an additional client cookie for me to test
by. Not only did my scripts not detect the cookie on my machine, but
when I echo out the size of $HTML_COOKIE_VARS it says 1 (even though I
have 50 cookies on my machine) and item 0 of the array is empty when I
echo that out. Why isn't the traditional way of grabbing cookies
working, and is there any way for me to utilize the session cookies that
Webspeed set.
P.S. I am using IE 6.0 if that makes any difference
Angie
Top of script BEFORE any html headers:
<?php
$cookie = $HTTP_COOKIE_VARS["aa_login"]; //is null even though
//cookie present and
//with that name
echo $cookie;
echo sizeof($HTTP_COOKIE_VARS); // echo's out 1
?>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]