Ah right. So it was the session_start that was causing the problem
The session_write_close() will come in really handy. Thanks![]()
Aaron
| SitePoint Sponsor |


Ah right. So it was the session_start that was causing the problem
The session_write_close() will come in really handy. Thanks![]()
Aaron
hi,
just a quick email to update you on my findings. in the end the only way NOT to crash the addon has been to use onreadystatechange the as shwon here below:
Code JavaScript:xmlhttp.open("GET", "test.txt",true); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { ... } } xmlhttp.send(null);


Although you did show your code, I didn't notice that you were doing it synchronously xD
Async, which is what you're doing, is usually best because it seems to run it as a new thread... so things don't crash
Bookmarks