Setting session to othe site
Briefly

When you set a session in siteB after receiving the request from siteA via Guzzle, ensure the session is correctly started and maintained across the site. Otherwise, subsequent requests to siteB may not recognize the active session, leading to issues where session data appears as false.
After correctly establishing the session in siteB, you may also need to check browser cookies, as sessions often rely on them to maintain state. If cookies are not set or passed correctly, navigating to other pages will not reflect the logged-in session.
Cross-site session management can often lead to complications, especially if cookies between siteA and siteB are misconfigured. Confirm that CORS settings and cookie attributes allow sharing between both sites.
If all else fails and session issues persist, consider using tools like PHP's built-in session management or a specialized library to reinforce session handling across different pages.
Read at SitePoint Forums | Web Development & Design Community
[
|
]