I want to store a custom cookie in user browser and in a register form. I would create an affiliate system.
I test the basic cmd with this:
http://ift.tt/2iJHMFZ
In my controller
$ref = $request->query('ref');
$cookie = Cookie('referral', $ref , 60);
dd($cookie);
The dump of cookie created works perfect. cookie name, value, expire... But nothing is save into user browser. I have used firefox developpment web to check all cookies in browsers.
Browser doesnt store cookie. Why?
Nb: I have used also this package http://ift.tt/2iLGIBI but its the same problem.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2zjo6jB
via IFTTT
Aucun commentaire:
Enregistrer un commentaire