Welcome Guest, Not a member yet? Register   Sign In
ajax request instancing an object controller ?
#2

Yes, an AJAX request will call the controller's constructor. However, you probably need to read through this portion of the user guide:
http://www.codeigniter.com/user_guide/li...oncurrency

It's also possible that you are having some other issue related to session handling and AJAX, in which case your best solution may be to move some of the error handling to the client by requiring multiple missed requests before assuming the session has expired (however, if the problem IS a concurrency issue, this could make it worse).
Reply


Messages In This Thread
RE: ajax request instancing an object controller ? - by mwhitney - 04-08-2015, 10:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB