We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

cookie getValue alway be null

$c = $this->cookies->get('captcha'); $c->getValue() is null

Does your browser has cookies support enabled?



31.9k

I ensure browser cookies support is enabled,and var_dump($c), I see the property: _value is not empty, but getValue() is null

And what

var_dump($_COOKIE)

says?