Irregular Server Side Behavior
Irregular Server Side Behavior
Hello all,
I'm currently working on a project implementing DataTables. We've got two locations set up, test and production. The production link hasn't been publicized yet, but it is live.
Anyhow, I'm having some problems with server side processing. Currently, certain browsers get stuck in the 'Processing' phase. There seems to be no rhyme or reason. The current culprits are:
1. Firefox 3.6.12 on a MacBook Pro OS X 10.6.4
2. IE 8 on a Lenovo w510 with Windows 7.
However, checking those exact same browsers on other machines results in perfect results (Firefox 3.6.12 on an iMac). Checking other browsers on the same machine works fine (ex: Safari on MacBook). The even weirder part? Firefox on the MacBook in question pulled the results not 10 minutes ago without any problem. I shut the laptop, went to start an e-mail in excitement, opened it back up to double check something...and it was back to the 'Processing...' issue.
Our page is behind a system to resolve requests via our main host name. (libix.____/ROOT_FOLDER) becomes ____/DEPARTMENT_ROOT/ROOT_FOLDER) Additionally, the location from which I am accessing these resources requires a log-on for network access. Again, though, I have tested other browsers/machines on the same network, same site with no problems.
Based on this discussion: http://datatables.net/forums/comments.php?DiscussionID=1540
I thought there might be some issues with my AJAX request and some XSS as mentioned by allan. I tried the following:
1. Referring to my page via http root: ex [code]http://RESOLVED_HOST/ROOT/server_side_processing.inc.php[/code]
2. Referring to the page via unresolved root: ex [code]http://libxi.HOST_NAME/ROOT_FOLDER/server_side_processing.inc.php[/code]
3. Referring to the page via server root: ex /ROOT_FOLDER/server_side_processing.inc.php
None of these seemed to have worked. I will note that utilizing the unresolved root made the 'Processing...' issue appear across all browsers on the MacBook.
Originally, I had the content header set as application/json. To debug, I commented that out (so I could get direct text output). I utilized Firebug on the culprit laptop, and looked at the request being sent. Copying that request, on the same browser, I opened up a new tab. I took the results (which appeared to be valid JSON), and dropped it into jsonlint. Valid JSON indeed. Firebug shows a 200 OK response. But looking in the 'Response' tab shows totally empty. It appears to pass the data (roughly 1.5k for a 17 row table, if I recall), but for some reason it's just not catching.
Any thoughts on this would be HIGHLY appreciated.
Thanks,
Daniel
I'm currently working on a project implementing DataTables. We've got two locations set up, test and production. The production link hasn't been publicized yet, but it is live.
Anyhow, I'm having some problems with server side processing. Currently, certain browsers get stuck in the 'Processing' phase. There seems to be no rhyme or reason. The current culprits are:
1. Firefox 3.6.12 on a MacBook Pro OS X 10.6.4
2. IE 8 on a Lenovo w510 with Windows 7.
However, checking those exact same browsers on other machines results in perfect results (Firefox 3.6.12 on an iMac). Checking other browsers on the same machine works fine (ex: Safari on MacBook). The even weirder part? Firefox on the MacBook in question pulled the results not 10 minutes ago without any problem. I shut the laptop, went to start an e-mail in excitement, opened it back up to double check something...and it was back to the 'Processing...' issue.
Our page is behind a system to resolve requests via our main host name. (libix.____/ROOT_FOLDER) becomes ____/DEPARTMENT_ROOT/ROOT_FOLDER) Additionally, the location from which I am accessing these resources requires a log-on for network access. Again, though, I have tested other browsers/machines on the same network, same site with no problems.
Based on this discussion: http://datatables.net/forums/comments.php?DiscussionID=1540
I thought there might be some issues with my AJAX request and some XSS as mentioned by allan. I tried the following:
1. Referring to my page via http root: ex [code]http://RESOLVED_HOST/ROOT/server_side_processing.inc.php[/code]
2. Referring to the page via unresolved root: ex [code]http://libxi.HOST_NAME/ROOT_FOLDER/server_side_processing.inc.php[/code]
3. Referring to the page via server root: ex /ROOT_FOLDER/server_side_processing.inc.php
None of these seemed to have worked. I will note that utilizing the unresolved root made the 'Processing...' issue appear across all browsers on the MacBook.
Originally, I had the content header set as application/json. To debug, I commented that out (so I could get direct text output). I utilized Firebug on the culprit laptop, and looked at the request being sent. Copying that request, on the same browser, I opened up a new tab. I took the results (which appeared to be valid JSON), and dropped it into jsonlint. Valid JSON indeed. Firebug shows a 200 OK response. But looking in the 'Response' tab shows totally empty. It appears to pass the data (roughly 1.5k for a 17 row table, if I recall), but for some reason it's just not catching.
Any thoughts on this would be HIGHLY appreciated.
Thanks,
Daniel
This discussion has been closed.
Replies