• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cookie and other headers not send

#1
Hello!

Code:
PHP Code:
set_cookie([
    'name'   => 'cookie',
    'value'  => 'value'
]);

return 
redirect()->to('/'); 
Cookies not send. For send cookie I must add before redirect $this->response->send();

In my opinion, cookie should send without it.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.