Tuesday 3 October 2017

Multiple laravel project in the same server session auth conflict

I have two laravel project in the same server i use auth for all projects. When i login to project1 its working fine.Same time i was login in to project2 my project1 will be log out.

I had the same problem with two Laravel projects and when I changed the session cookie name in config/session.php for one of them, the problem solved.

In Laravel 5.5:

 

 Please change your project name in .env file

 APP_NAME



In Laravel 5.4:

I think you should delete your browser cookies.

1 comment:

  1. Thanks madam, we followed you each concept . its really interesting. all the best

    ReplyDelete

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in Laravel

  WampServer: Download this file:  http://curl.haxx.se/ca/cacert.pem Place this file in the  C:\wamp64\bin\php\php7.1.9  folder Open  php.in...

Popular Articles