Reputation: 237
I wanna have two or more Laravel Projects in my computer, but when I created the new project with login and passord, the session from this new project affects the old project.
I tried creating new virtualhost and didn't work
This the virtualhost that I created
How I resolve this question?
I'd like to call simply like http://localhost/project, http://localhost/project1, but they use the same session.
After all this I desire put these same configuration in a server
Thanks
Upvotes: 0
Views: 2059
Reputation: 180014
In config/session.php
, you can change the cookie
value to change the name of the cookie Laravel uses to store the session ID. Making it unique to each app will allow both to coexist on the same domain name.
Upvotes: 2