user expireince gibberish and symbols appears when downloading a file in Firefox (see the attachment). this happens once in a while. Does anyone know why this happens and are there any ways to prevent this?
Also is there any way to check if the client has successfully downloaded the file? in my application, i only allow 1 download per user so i should make sure the client successfully downloaded the file
anyways to handle it in @ "// Read the data in buffer" part or someting???
----------------
// Verify that the client is connected.
if (Response.IsClientConnected)
{
// Read the data in buffer.
length = iStream.Read(buffer, 0, 10000);
// Write the data to the current output stream.
Response.OutputStream.Write(buffer, 0, length);
----------------







Bookmarks