Just checked my routes/web.php file, and it doesn't have 'web' middleware listed anywhere, however we are using some of our own custom middlewares, so maybe those are including the web middleware?
My routeServiceProvider is declaring the middleware, this is where it is globally applied, correct?
Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/web.php'));
What I have finally done to fix the issue is to remove that from the RouteServiceProvider, and add the following to my [email protected] function
And now my session variables are persisting