NYCPHP Meetup

NYPHP.org

[nycphp-talk] why does setcookie fail?????

Brian Pang bpang at bpang.com
Sat Sep 6 16:38:41 EDT 2003


it's quite possible that $row['nnet_user_registrationnumber'] null, but
my cookie was set with a value of
{}

which is not null, though probably not what was expected.
but would indicate that the var was null/empty/undefined/false

> 2. I suspect the real problem is that
> $row['nnet_user_registrationnumber'] is null. That would definitely
> make the browser discard the cookie.




More information about the talk mailing list