I got several Laravel 5 projects running on subfolders, on the same domain.
Each Laravel application is generating it\'s own session cookie, and sometimes it generat
Since I found the solution, let me share with you guys.
First, you need to use a shared session driver like Redis or database.
Second, you need to set on config/session.php, the session cookie and path to be the same.
After that, you can run as many different Laravel projects on the same domain without having problems with cookies.
If your application does not require session at all, you can disable sessions entirelly on app/Http/Kernel.php, commenting the following lines:
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,