L5 how can i remove session and cookie completely for restful api
L5 how can i remove session and cookie completely for restful api ?
You can easily create a cookieless domain by using a CNAME for it.
bashy, i don't understand you.
i want disable cookie and session. from laravel.
Take a look in Kernel.php and remove all the middleware relating to sessions and cookies from there.
You'll also need to look in your config (session.php) and change the driver to array
That should be about it - though I may have missed something.
Ah thought you wanted to have a cookieless domain :)
@shiny It's a type of DNS record.
what if I want to remove cookies from PART of my application?
Please or to participate in this conversation.