After I set a cookie in Laravel I tried to retrieve it's content by using this code. It returns all the time null, but the cookie is set:
$value = $request->cookie('affiliate_id');
dd($value);
As you can see, the value of cookie "affiliate_id" is not empty.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire