S
S
Sergey Korenevsky2021-06-20 05:57:04
PHP
Sergey Korenevsky, 2021-06-20 05:57:04

How in PHP from one thread (session) to call the script of another thread (session) the script of another client?

It is required to transfer data to the client using SSE in PHP received in the API in another thread of another session.
How to transfer data between sessions (threads)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-06-20
@rPman

Use semaphores , there are tools for sending messages between machine processes, it is always enabled on linux, unfortunately not on windows builds.
Otherwise, implement based on sockets, then it will not matter on which machine the process is running in the cluster

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question