Welcome Guest, Not a member yet? Register   Sign In
not possible to call CI controllers simultaneously?
#1

[eluser]CI beyond[/eluser]
Hi folks,

In context of some 'live' notification i do an ajaxrequest on page load which in turn will call a function in a CI controller which loops indefinitely, spitting out some data every now and then.
Although this works perfectly with 'normal' php, it seems CI only allows one call at a time. As long as this infinite loop is active, i can't make any other calls to CI stuff. It simply hangs there till i manually kill off the loop.

I can hack around this using some 'normal' php together with CI stuff, but i rather do everything the CI way, so i can keep everything clean.

Is this a known issue or maybe even a config setting? Also, if anyone knows of a better way of doing instant notification about changes on the server i'd be glad to hear it Smile

Thanks in advance!


Messages In This Thread
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 12:50 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 01:46 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 01:57 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 02:18 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 02:38 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 04:16 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 04:27 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 07:13 PM
not possible to call CI controllers simultaneously? - by El Forum - 08-12-2007, 07:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB