问题
I just store a cookie into the queue
Cookie::queue('session', $response['session'], 3);
When I try to list all the cookies in the queue, I got an empty array
dd(Cookie::getQueuedCookies()); // I got empty array ---> []
if(Cookie::has('session')) {
$session = Cookie::get('session');
}
What did I miss ?
This question is about Cookie and Cookie != Session
来源:https://stackoverflow.com/questions/49801840/store-check-get-list-cookie-in-laravel-5-1