954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Why do my ajax requests get reposted?

I am sending ajax requests from javascript webpages to my server. Each get request is given a timestamp, as well as other information which will make it unique. The request is processed and replied to.

Now very occasionally, the same request will arrive at the server again. Often several minutes later. Does anyone know what causes this? The original request-reply does seem to have been received by the sender. If the reply was lost, would the XMLHttpRequest resend the original request? Currently I'm recording the timestamp and sender id, and discarding the duplicates. Is there a way to prevent the resending? Would using Post instead of Get work better? It happens whether using FF or IE.

Thanks for any help,

Louise.

ajaxlouise
Newbie Poster
1 post since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You