In /cma/index.php, which sets the cookie:
setcookie('username', $username, time() + 600);
....
header("Location...");
It redirects to the TCL CGI /cma_main.cgi which in turns does NOT see the
cookie name "username" ever set. I go to my /Phil/Cookies folder for the
cookie under the "valsignalandet.com" domain and, sure enough, "username" is
not set. However, $HTTP_COOKIE_VARS["username"] DOES exist every time I go
to /cma/index.php thereafter, in spite of nothing else showing a cookie
exists.
So, in short, "setcookie()" in PHP is setting a nonexistent cookie.
Phil
----- Original Message -----
From: "Chris Snyder" <cs*****@chxo.com>
To: "NYPHP Talk" <ta**@lists.nyphp.org>
Sent: Thursday, July 31, 2003 1:36 PM
Subject: Re: [nyphp-talk] TCL, PHP and cookies - AUGH!
In fact, if $env(SERVER_NAME) works, I'd try $env(HTTP_COOKIE) and see
what it comes up with.
Chris Snyder wrote:The key to finding the cookie in TCL might be the $env list?
_______________________________________________
talk mailing list
ta**@lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
_______________________________________________
talk mailing list
ta**@lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk