Found the solution. Have to add
Session::start();
to the setup() method. Solves session related problems when you call the routes.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community