I'm trying to cancel an AjaxRequest on the server when the server is taking
too long.

 

ajReq = new AjaxRequest( .);   // normal call which works fine 

 

//server is taking too long so User hits "cancel" button.

// some requests finally return after minutes with "server time of 30 sec.
exceeded" or something like that.

// I tried to cancel the request by executing the following code:

 

ajReq.transport.abort();

 

 

This solves the problem on the client and stops the "loading" message, but
the server keeps executing and will for a long time.

 

My server is not robust and is now clogged up.  I'm not sure what will
happen on a better server.

 

I'm not skilled on the server stuff and am doing the server side programing
in PHP and sometimes a request to draw map takes very long.

 

Server is running apache2.

 

Does http request .abort() actually tell the server to stop?  Or do I just
have an unsolvable problem.

 

Google has been no help.  Probably my search terms.

 

Any ideas??

 

Worth

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to