This will create a sessions
table in the database specified in the SESSION_CONNECTION
(the common session
connection).
To ensure that session cookies are properly shared between the two applications, they need to be hosted on the same domain or subdomains. If they are hosted on different subdomains, you can configure the SESSION_DOMAIN
variable in each application's .env
file: