Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 11th, 2003, 02:30 AM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Simultaneous multiple file download

Hello,

I have implemented an Online Credit card processing system..

I need to allow users to download the files for which they have paid..

so I list all the files with a hyperlink "Download"

I have set the h ref value to another asp page where the download logic is being implemented..
The download logic is nothing but using ADODB Stream object.

On clciking the link the download starts ..no problem.

BUT WHILE THE FIRST FILE IS GETTING DOWNLOADED I CLCIK THE SECOND DOWNLOAD LINK...THE SECOND FILE DOESNOT START DOWNLOADING UNTILL THE FIRST IS COMPLETE..

can anyone please help me out so that if the user clicks 2 links ,it shouls ask for 2 save dialog box

  #2 (permalink)  
Old December 11th, 2003, 03:49 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

it's possible that you are restricted based on the number of allowable connections to the server. This may not be an ASP issue at all, but a IIS/Server/Network problem.

Peter
------------------------------------------------------
Work smarter, not harder.
  #3 (permalink)  
Old December 11th, 2003, 11:58 PM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much for your reply.

Here the bandwidth is very low..

Can that be the problem for this?

If the bandwidth is high can multiple download happen simultaneously?

  #4 (permalink)  
Old December 12th, 2003, 11:37 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

While affecting how fast your downloads happen, bandwidth shouldn't affect how MANY you can download. That is determined by the server.

Peter
------------------------------------------------------
Work smarter, not harder.
  #5 (permalink)  
Old December 15th, 2003, 01:18 AM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your reply.

Can i know where to change the settings in the IIS server so that it will allow multiple connections so that simulaneous download can happen

  #6 (permalink)  
Old December 15th, 2003, 11:39 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

In IIS manager, go to the properties for your web site node (usually "Default Web Site"). On the "Web Site" tab, there is a section for "Connections". Under there, you can choose "Unlimited" or "Limited To:". If this isn't it, then I'm not sure where else to look.

Peter
------------------------------------------------------
Work smarter, not harder.
  #7 (permalink)  
Old December 17th, 2003, 11:37 PM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All the setting you have mentioned is already set in IIS..But still it is not working..

How to solve this issue



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simultaneous file write jmjlm VBScript 4 May 25th, 2007 04:41 PM
Multiple file download Simultaneously goodybuddy General .NET 1 January 24th, 2005 10:17 AM
Multiple file download goodybuddy General .NET 0 January 18th, 2005 09:20 AM
Multiple simultaneous asynchronous requests mehdi62b ASP.NET 1.0 and 1.1 Professional 18 August 25th, 2004 04:18 PM
Simultaneous xml file access jim77002 XML 2 September 1st, 2003 03:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.