Support the ongoing development of Laravel.io →
posted 9 years ago
Session
Last updated 1 year ago.
0

Nope, the session is specific to the server, so when you try on the second server it just won't be there... If both apps can use the same mem cache it could work? Or a cookie, which is browser side, but not to sure how the subdomain cookie accessing works...

Last updated 1 year ago.
0

willemwy said:

Nope, the session is specific to the server, so when you try on the second server it just won't be there... If both apps can use the same mem cache it could work? Or a cookie, which is browser side, but not to sure how the subdomain cookie accessing works...

So..anyway to get on this (how about cookie?)

Last updated 1 year ago.
0

Using the database session driver is probably the simplest way to make this work, assuming both subdomains run from the same database.

Or memcache / redis would also provide the same solution.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

forddyce forddyce Joined 2 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.