Quantcast
Channel: Performance
Viewing all articles
Browse latest Browse all 447

Response.Flush not working on IIS 7.5

$
0
0

Hi,

I know this is a problem faced by many developers before.

I have a upload file functionality in my asp.net 4.0 application. While uploading i have to show the progress of upload. I have implemented this with response.write and response.flush. I have also set response.nuffer as false. This solution works well on development machine while running on asp.NET development server. 

Once deployed on server with IIS7.5. I do not see the progress happening. But, what i do see is that at the end of upload..i se the content of response.write(progress bar) for fraction of second before the page is rendered back to the client. 

I would like to see the progress bar incrementing from 0 to 100.

I remember from previous projects that this is to do with gzip of the data sent from iis to browser.I notice that on the IIS the static compression is enabled but the dynamic compression is not even installed.

Please can you suggest how to make response.flush work in this scenario.

 


Viewing all articles
Browse latest Browse all 447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>