I have two different sites that has their own server. Site#2 sends request to Site#1 for logging customer in. Request contains Allow Crendentials Header and response is status 200. Both sites has same memcache COOKIE_DOMAIN but for some reason Site#2 has no set $_SESSION values. What did I miss?
closed as off-topic by gf_, Tom O'Connor, Tero Kilkanen, Ward♦, womble♦ Sep 13 '17 at 4:12
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – gf_, Tero Kilkanen, Ward, womble
You need to actually share the session data between the web servers. The cookie is merely an index to the session storage.
How exactly you can make the web servers share session data depends entirely on the software stack used on the servers.