divinequran Posted December 23, 2008 Share Posted December 23, 2008 can i sent multiple httprequest for a php file. My requirement is already a javascript sends the request for the particular php file once for every two seconds, can i send the request again for the particular php file again using the same javascript. Link to comment https://forums.phpfreaks.com/topic/138199-request/ Share on other sites More sharing options...
divinequran Posted December 28, 2008 Author Share Posted December 28, 2008 As far as i tried it, if gives the multiple request and gets the response properly, i tested it in localhost. Link to comment https://forums.phpfreaks.com/topic/138199-request/#findComment-724845 Share on other sites More sharing options...
Philip Posted December 28, 2008 Share Posted December 28, 2008 Yes you can do multiple requests. It's kinda like a send and forget thing - you can send it, and do other things while you're waiting on the reply. Link to comment https://forums.phpfreaks.com/topic/138199-request/#findComment-725040 Share on other sites More sharing options...
priti Posted January 3, 2009 Share Posted January 3, 2009 you can do but in ajax do think of "Race-condition" !!!! usually developers make single AJAX call and tries to accommodate list of task and get the related response with one file. Link to comment https://forums.phpfreaks.com/topic/138199-request/#findComment-728688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.