WebQuerySave agent runs twice

In a database DB_A I have a form (Has a field SaveOptions = “0” and no $$Return field) which is openend through a browser. On the WebQuerySave event of the form I call an agent which then processes the data.

The agent prepares the collected data from the form, does some FTSearches and then creates a document DOC_R (Result document) in database DB_R and a document DOC_C (Charge document) in database C.

Then I use a URL print statment to call an agent which then opens then DOC_R.

Now, I discovered that the documents DOC_R and DOC_C are created twice. So the agent was triggered twice. But not always. Just sometimes. I have done quite a bit of testing. But I could not figure out when the agent is running twice.

I was reading through teh forum but could not find an answer. The only thing which I found is that the WebQueryOpen agent fires twice with certain browsers

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/4c42a4dc6a02365685256c61005bdfa6?OpenDocument&Highlight=0,WebQuerySave,twice

Does anybody know where I have the problem?

Thanks

Subject: WebQuerySave agent runs twice

What are the odds that users are double-clicking the first form’s submit button?

Subject: RE: WebQuerySave agent runs twice

The odd thing is that the user CANNOT click twice submit. I just hide the submit button and replace it with an animated waiting image.

Also that when I am testing it is happening and I really paid attention to not click twice which is anyway not possible.

Subject: RE: WebQuerySave agent runs twice

any solution on this issue?I too facing the same problem please help…