I have project which I need to upgrade from laravel 5.x to 11.x, but when I upgrade from laravel 9.x to 10.x I got the issue, the issue is when refresh the session will reset. Do you anything different with upgrade from 8.x to 9.x with 9.x to 10.x? because from 5 to 9.x no issue with session by using the old one. but when upgrade to 10.x, I get the issue.
Note : I’m using session driver file
explanation and solution