> How do I send a file asynchronously? > > The classic example is download sites. You click on the file you want and > it generates a thankyou page for your browser and also sends the file. > > So what's the correct way to do this? >
Use a refresh META tag on the thank-you page, that points to the requested file. Look at any download page at SourceForge to see how it is done. Alternatively, you can return a multipart/mixed MIME message with both documents as the result of the HTTP request. -- Dominique QUATRAVAUX Ingénieur développeur senior 01 44 42 00 27 IDEALX