[eluser]Unknown[/eluser]
Hi
I am using ajax (xmlhttprequest object) on a view to 'GET' from a controller
Model: News_model
View: news_view
Controller: News
the constructor of the controller loads the model.
and the constructor of the model parses a xml file and puts the results in a db table.
the problem is that with every ajax call, the db table is getting filled with the parsed data again..
in other words: it seems like every ajax call is instantiating the controller and/or the model
is my question clear enough, or should I post some code?
P.S: I don't want to use an ajax framework for CI, I have to use the xmlhttprequest