|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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! |
|
#4
|
|||
|
|||
|
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! |
|
#5
|
|||
|
|||
|
Same problem here
hmm... i have the Same problem here.
have u found a solution? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > file upload causes script to "hang" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|