-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with CI Session library #40
Comments
Hello @templeman - thanks so much for your question and I was not aware this was an issue however - I am interested to into to reproduce it, can you please state the steps that you take - such as a usage case, and how you reproduce it? and to summarize it, are you saying the issue is that the requests are slower? |
I start out with a fresh install of Codeigniter v3.1.3. Then I add a fresh download of CJAX-5.9-RC8 as per the documentation. When I run the initial test at http://somesite.com/ajax.php?test/test, everything works. Next I set up a simple test controller:
With the response controller:
And a basic view:
And all of this works. If I go to http://somesite.com/Test_cjax, I get the button and clicking it returns a successful AJAX response. The problem shows up when I start loading Codeigniter's Session library. For example, using this same setup, I can go to autoload.php and set So in short, it seems like CI's Session library is somehow interfering with CJAX and preventing the AJAX calls from working at all. |
@ajaxboy are you able to replicate the issue I'm having? I'm very interested to know whether this is a CJAX bug or if it's related to my own setup somehow. |
@ajaxboy was this fixed? |
@danielzilli the issue is being looked into. |
is the 5.9-RC10 have fixed this issue? |
I am integrating CJAX-5.9-RC8 with my app running on CI-3.1.3. I've found that CJAX is working great, except when I load Codeigniter's Session library. With this library loaded, CJAX doesn't seem to work at all - no responses, no errors, nothing.
The CI Session library has changed substantially since 3.0, and the docs even mention the potential affects on AJAX requests.
I'm wondering if there are any known issues with CJAX-5.9 conflicting with the new Session library, and what I might do to get them to play nicely together.
The text was updated successfully, but these errors were encountered: