Laravel session does not work in the controller

scenario is front-end separation (vue+laravel). When login verification is successful, the backend returns sessionID, using the default file storage session, that comes with laravel. Startsession, has been used in middleware. Here should be no problem.
as shown in the figure, I write session directly in the route that can be stored

tokensessionIDsession

.

I tried methods such as session- > save (), $request- > session- > save (), and none of them succeeded.
also read on the Internet that laravel uses files to store session with bug, but such a popular framework should not have such a problem.
is a little confused. I don"t know what the problem is.


check session.save_path in php.ini . If there is a ; comment, remove the semicolon, and then manually specify a directory with write permission, such as: session.save_path = / tmp , restart php-fpm (or Apache ) and try

again.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e445fe-650c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e445fe-650c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?