-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 23, 2003 at 04:58:54PM -0500, Annelie wrote:
> I used the HTML given in the SCI specs to create a 'Donate now' button for
> an e-gold payment. If the payment is successful, the client will be
> directed to a hidden folder and a zip file will be downloaded.
> 
>    <input type="hidden" name="PAYMENT_URL"    
>value="http://www.mysite.com/MyDownload.zip";>
> <input type="hidden" name="PAYMENT_URL_METHOD" value="LINK">
> 
> How can I direct the client to a thank you page when the download has
> completed? I don't want to direct the client to a page when a succesfull
> payment is made - I first want to do the download and then direct the
> client to a page.

With HTML / HTTP downloads you can't detect if a download is completed.
You can redirect the user direct to a page though and let the
download start when that page is loaded.

If you put the following META tag in the the head element of your
website, then the download will start automatically after 1 second:
<meta HTTP-EQUIV="refresh" content="1;
URL=http://http://www.mysite.com/MyDownload.zip";>
It is smart to still put a link to the download on the 'thanks' page, so
the user can download it again if ze accidently pressed Cancel.

! Keep in mind that everybody can get the url of the download file
from the source of the orderform !

> Is it possible to automatically initiate a second download after the first
> download completed? (Stupid question, I guess!!)

Since you can't trigger an event after a download is finished, doing a
second one after the first isn't possible too.

Regards,
Joris Bontje
- -- 
PGP Key: http://pgp.dtype.org:11371/pks/lookup?op=get&search=0xF19326A9
Key fingerprint = 730D 9B3A F406 F28A 957D 6397 31E8 6D4C F193 26A9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+MGrBMehtTPGTJqkRArGpAJ0QC62czSwWyvKdQExT4nk9MKgITgCeOQQU
gDxteaMDZgaBG+i0zR7406M=
=CZ3T
-----END PGP SIGNATURE-----


---
You are currently subscribed to e-gold-list as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Use e-gold's Secure Randomized Keyboard (SRK) when accessing your e-gold account(s) 
via the web and shopping cart interfaces to help thwart keystroke loggers and common 
viruses.

Reply via email to