March 27th, 2012, 02:20 PM #1
- Join Date
- Mar 2012
Use Button-click event to download file and then go to another web page
I will be selling a delphi app on my web site. After the customer pays for the program, the website changes to a download page, with a "Download" button. When the customer hits that btn, my executable downloads to customer's computer and then sees installation prompts, etc.
After my .exe downloads, I want the website focus to change back to my Home Page, without preventing the customer from then installing the new program. Can you recommend the html code to do this?
Thanks for your help. eddela
Last edited by eddela; March 27th, 2012 at 02:22 PM. Reason: better choice of words
March 29th, 2012, 07:15 AM #2
I don't write code... but can you force "a new window" for the download part... Once it's complete, the user closes it and is back where they started?The propeller is just a big fan in front of the plane used to keep the pilot cool. When it stops, you can actually watch the pilot start sweating.
March 29th, 2012, 02:53 PM #3
- Join Date
- Mar 2012
Change Page After File Download
Thanks for your input.
What I'm trying to do, is discontinue the customers' access to the download page, after he/she gets the file which was purchased. So, the idea is to have the web page change to my home page, triggered by the completion of the download process.
All of the methods I've seen, use a button-click or a timer to trigger the page change. I don't want the user to click a button, or choose not to. A timer may leave too little time for the download, or enough time for the customer to download again.
Does anybody know how to use a download completion event, to trigger a link to another web page? Any other ideas? Thank you.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By pat32 in forum Technical SupportReplies: 1Last Post: February 14th, 2011, 09:05 PM
By xenon2 in forum Technical SupportReplies: 1Last Post: December 27th, 2008, 03:07 PM
By cyberjoe2 in forum Webmastering and ProgrammingReplies: 2Last Post: March 1st, 2007, 10:18 AM
By Indian in forum Applications and Operating SystemsReplies: 2Last Post: November 18th, 2004, 03:46 PM
By wickedy_wack in forum Graphic Design and Digital PhotographyReplies: 6Last Post: February 23rd, 2003, 12:40 AM