IBM developerWorks
           ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 25th, 2003, 08:31 AM
lordkyl lordkyl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 27 lordkyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
file upload causes script to "hang"

I'm using SAFile up to upload a file to the webserver. I wanted to have a progress bar so the user doesn't get to impatient.

I know how to do it and everything works, however while the upload is occuring the web server pauses.

I can't execute any ASP pages on that site from my browser they all "pause" until the upload is done.

Anyone have any ideas?

Reply With Quote
  #2  
Old June 25th, 2003, 08:59 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I've used

SAFile numerous times to upload files to the server and never had to incorporate a progress bar so the user doesn't get to impatient

I guess it depends on the size of the file you are uploading!

When you say the web server pauses, does it give you an error message?
Or does it simply take forever ?

What happens when the user select a file, from his computer, and clicks on your <submit> button?
Do you call another .asp page? or does the page submits to itself?

Its hard to pinpoint the exact cause of why it does that!

Are you using ASP 3.0 ?
If so, by default, the pages *all* have the Response.Buffer = true as opposed to ASP 2.0 where you had to explicitly add this instruction at the top of your .asp pages.

*Perhaps* at that is a BIG perhaps try adding at the top of your page:

Response.Buffer = false

Then try it with Response.Buffer = true and see if it makes a differences.

since the process of uploading a file *can* take a while(size wize) a good thing you might want to look into is the IsClientConnected property.

Again, this may or may not help to correct the pauses!

Hope this helps!
Sincerely

Vlince

Reply With Quote
  #3  
Old June 25th, 2003, 09:12 AM
lordkyl lordkyl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 27 lordkyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm not sure I explained myself well enough...


Basically while uploading a file in one browser window, the server will not server other ASP pages in another browser window, but only while uploading the file.

This doesn't seem to happen when I have IE uploading and Netscape pulling page.

I am assuming this is somet sort of connectivity issues between my browser and the server...probably a setting in IIS or something to allow multiple requests from the same IP or something like that...

Thanks for your reply!

Reply With Quote
  #4  
Old June 25th, 2003, 09:33 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Humm...you got me there!

I mean *all* the uploading happens on the server side so in theory its browser independent...

Perhaps SaFile has some known issues about this. A quick look over at their web site *could* help you...maybe/I hope :-)

Other then that, it can be anything I guess!

Reply With Quote
  #5  
Old August 2nd, 2003, 07:19 AM
KarahaNa KarahaNa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 7 KarahaNa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Same problem here

hmm... i have the Same problem here.

have u found a solution?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > file upload causes script to "hang"


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway