CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 Force Download

Print topic Send  topic

Author Message
mramirez18

Posts: 56
Posted: 06/03/2004, 7:10 PM

Need to know how to force download when Record has been INSERTED when user requests for application download.

Page=File.asp, form=downloads
Table:Downloads
app_id
download_id
user_id
date_posted.

Apps TABLE:
app_id
app_url
etc
View profile  Send private message
Bruce Van Horn
Posted: 07/13/2004, 2:40 PM

Not sure if this would work, but its an idea...

On the page that does the insert, you could set the return page to another page that has some javascript in it. If you leave preserve parameters on, you should be able to test the query string with javascript, or if you're up to in, in ASP to see if the download is requested. If it is just do a javascript style redirect to the filename and it should download.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.