I ran into the problem of token mismatch on the new server, working fine in localhost. I tried my best to clear the cache and give SESSION_DOMAIN a path in env, but everything seems useless.
Also, session cookies are not created in the web browser when they are created in the storage / framework / session folder.
Please help me!
Are you getting an exception tokenMismatchException?
tokenMismatchException
If so, some of the possible reasons are:
Check your files for the PHP end tag "?>", If it exists, delete it. See the link for more details .
, web. . ( laravel 5.2, ).
web
, - web. /web.php
Route::group(['middleware' => ['web']], function () { <routes> });
https://laravel.com/docs/5.3/upgrade, , - , .
, , , , .
Source: https://habr.com/ru/post/1686768/More articles:Cannot connect to mongodb after deploying app in Google App Engine - google-app-engineWhy is performance better in LinkedList when the value of the reference type and its node are created at the same time? - c #Transport-coding error installing with pip - python-3.xhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1686766/i-want-to-split-a-file-into-equally-sized-chunks-or-slices-and-use-goroutines-to-process-them-simultaneously&usg=ALkJrhiwHehzx8n8MeRxw2NxgyPa9jSHeAAngular Material 2 - Custom mat template / md-option in autocomplete - autocompleteThe value of x & (-x) in 2 additions? - bit-manipulationUIDocumentInteractionController does not open another application in iOS 11 - iosLaravel 5.2.11, sessions do not work, session cookie is not set - phpHow to configure netcoreapp2.0 and net461 in the same project - c #Find the least significant bit of a set - javascriptAll Articles