Welcome Guest, Not a member yet? Register   Sign In
How to implement EventSource on Codeignigter app?
#4

(This post was last modified: 02-23-2020, 11:53 AM by SmokeyCharizard.)

Quote:"One big issue is the attempt to load a new "job finished" view. Any change to the existing page has to happen in the "message" event handler. So sending back the html of a whole page is not appropriate.

Is your intent to show a new page once the data conversion is complete?"


Thanks for the reply! The job finished page is not necessary. If that is what I need to remove to get eventsource working, then so be it! SO how would I do this? Just not load the job finished view?
EDIT: I just tried to remove this line:
$this->load->view('templates/header');
$this->load->view('firearms/firearm', $data);
$this->load->view('templates/footer');
But it doesn't change anything. It still tries to return something I think...
Reply


Messages In This Thread
RE: How to implement EventSource on Codeignigter app? - by SmokeyCharizard - 02-23-2020, 11:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB