Search found 2 matches

by moliate
Sat Jun 27, 2009 5:06 pm
Forum: PHP - Code
Topic: Stopping AJAX request on server side
Replies: 2
Views: 149

Re: Stopping AJAX request on server side

Thanks tasairis, Your reply indicates that I'm at least on the right path. I'm currently working on the following idea: 1) When a process starts it uses shm_attach() to connect to some shared memory. It uses a hash of the current session as an identifier. 2) It then writes a request-unique flag to t...
by moliate
Sat Jun 27, 2009 4:00 pm
Forum: PHP - Code
Topic: Stopping AJAX request on server side
Replies: 2
Views: 149

Stopping AJAX request on server side

Hi everyone, I have an application that relies on PHP for processing some AJAX requests. In some cases the processing time might be quite long and the user could initiate a new request before the server has a chance to respond. Is there a way to interrupt the previous call? Since apache handles the ...