Server Sent Events in Joomla

For Joomla! 3.x Coding related discussions, you could also use:

Moderator: ooffick

Forum rules
Post Reply
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jul 29, 2021 7:33 pm

Server Sent Events in Joomla

Post by dborgman » Sat Feb 04, 2023 10:55 pm

In my search for working examples of a progress bar in Joomla, I ran across Server Sent Events as a means to pass progress information to the browser and update a progress bar.

I'm running Joomla 3.10.11, haven't made the move to 4.x as yet.
I have an AJAX progress bar working 95%, but I'm intrigued by the possibilities of SSE. So far my attempts have been a dismal failure. The new EventSource fails to make a connection to my Admin/component/controller that is performing a process that takes a bit to complete.

Has anyone had any success with using SSE and EventSource in a Joomla component?

Many thanks in advance for any insite!

Post Reply

Return to “Joomla! 3.x Coding”