My Laravel5 website uses csrf tokens to prevent CSRF attacks. On Chrome and Firefox, eveything works fine.
I submitted the site for my client to test and, when he us
I faced the same issue, and it was due to P3P error. Faced the issue on Edge (Windows 10).
I did a lot of research, and finally got it fixed.
All you have to do is create a new middleware and udpate the handle function to,
public function handle($request, Closure $next)
{
$response = $next($request);
$response->header('P3P', 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
return $response;
}
Explained it in detail at
https://robinz.in/csrf-token-session-error-with-laravel-on-ie-edge/