Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dlook's avatar
Level 4

Laravel to Laravel session check

Case:

  • There are two Laravel sites on two different servers.
  • Laravel A needs to know if the user currently browsing it is also logged in on Laravel B with that browser

Question: Is there a way to check that send cURL from Laravel B to Laravel A and getting the user status?

0 likes
2 replies
dlook's avatar
Level 4

Well, I have Laravel B hitting Laravel A with cURL, but I am struggling with how to tell Laravel A what to look for and tell me if it is currently logged in.

If I'm logged in at Laracast.com and go to Laravel.com, without telling Laravel.com, just from my browser session (or IP) I need Laravel.com to know my status at Laracast.com.

dlook's avatar
Level 4

Tried that first actually, but then realized it is void, returns null, mostly because cURL is coming from Laravel B server and that server is not logged in on Laravel A.

Please or to participate in this conversation.