After thousands of searches, I can’t find the answer to my problem.
I ended up creating an article here to get an answer (you never know).
Basically, project on IIS virtual computer (windows).
We’re on a react and node (express) project.
Our goal is that if a user logs on to his account on another computer or browser (why would he do that?) then thanks to SSE server-sent event, the browser detects that he’s already logged on, disconnects him from the old session and logs him on to the current PC.
Except that when you connect to the same account from another computer, it doesn’t disconnect the old one or close its session.
The result is an “SSE communication error”, error type, eventSource.
When we’ve tried the application on a hosting provider like O2Switch, it works just fine, because the server is already configured to handle this kind of situation.
On the Windows IIS virtual computer, however, it doesn’t work. Did we forget to configure a parameter on IIS?
Thank you, and many thanks to anyone who can give me a clue to my problem!
lots of stuff! help please !!
N P is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.