I'm trying to get rid of laravel\_session.

I've tried to create a middleware for it

<https://laracasts.com/discuss/channels/laravel/laravel-51-disable-session-and-cookies-for-some-routes>

Change the driver to use : `array` `file`, `database`

None of that works. Every time I refresh, I always see this:

[![enter image description here](https://i.stack.imgur.com/1a4Ej.png)](https://i.stack.imgur.com/1a4Ej.png)

How can I achieve this? Is it even possible to do ?