cookie getValue alway be null

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

Does your browser has cookies support enabled?



14.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?