From: Danie B. <br...@na...> - 2004-02-24 14:47:59
|
The problem it seems is two fold, here is the description of the problem. When requesting the print of an order or pdf more than once ( i.e order/invoice/etc) the system will not print the second request and instead notify the user it has already been printed. The nature of downloading using integrated download management software, such as I use because of bandwidth issues, causes the browser to request the URL, interpret the headers, and if download a download manager is plugged in, it will pass the URL to the download manager. This has the effect of doing a second request to the web-server for the same document. The obvious solution is to disable the download plug-in, however this to my mind is unreasonable considering that a lot of people use these for purposes of download recovery. In other words they are there. So can we work around a download manager? The answer is yes we can, by introducing a document request identifier, random or sequentially generated. When a document is requested a generated DocID is included as a parameter, On first request this ID is stored with the Order/Invoice/etc. When a document is re-requested and the DocID is the same, allow a reprint. Is this possible ?? It will eliminate a lot of support requests in future, I am sure because it took me two days to figure out. What do you think ?? Kind Regards Danie Brink br...@na... |