irt.org FAQ Knowledge Base Q546
Paul Shields on July 23, 1999 at 23:34:21:
Not technical enough
The settimeout to auto-close a window after a submit is prone to failure. It would be better for the target script that you're submitting the form to, to do a onLoad="window.close" in the body tag. Then it can avoid printing the body until it has processed the form, thus guaranteeing that the transaction has completed.