How to read this cookie in php

I am trying to read a HTTPonly and SECURE(true) cookie with PHP and it seems that I am doing something wrong with the second line below:

 if (isset($_COOKIE["refresh_token"])){
                    $refresh_token = $_COOKIE["refresh_token"];

Any ideas why this is wrong? I can see in Chrome that the cookie exists and there is a value set for refresh_token

Could you post a screenshot of that?

The code seems fine.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.