I ran in to this problem too, when upgraded to L5 but with session.
In 4.2 I used Config::set('session.driver', 'array'); and now it fails.
How to change the driver on runtime?
So... no one answered here but I got big hint at Stackoverflow. And finally I could disable Cookie.
http://stackoverflow.com/questions/28624807/disable-cookie-header-when-responding-json/
Thanks.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community