NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: sukhendu on December 01, 2014, 07:18:16 PM

Title: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: sukhendu on December 01, 2014, 07:18:16 PM
File upload is failing (see the attached jpg file) in IE-11 as well as in IE-8.  But no problem in Chrome or Firefox.  I'm sure it is to do with some kind of IE setting.  I would appreciate any hint.

Thank you.
Sukhendu Barua

[attachment deleted by admin]
Title: Re: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: Bruce on December 01, 2014, 10:45:56 PM
can you send me an example app that I can try here?

cheers
Bruce
Title: Re: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: sukhendu on December 02, 2014, 07:10:55 AM
Bruce,

Attached zip file has app, exe, and dct files.  Note: the file upload works fine in Chrome, but not in IE.

Thanks,
Sukhendu

[attachment deleted by admin]
Title: Re: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: Bruce on December 02, 2014, 10:44:22 PM
Good news, bad news, and some other news.

On the good news front I can at least duplicate the problem in IE8. However there's no clear indication what is causing the problem, and it's likely to be deep in the plumbing. On the up side the file itself is actually uploaded (and the _exact_ same response is sent back in both cases.)

On the bad news front I'm not seeing any problem in IE 11 (or 10 or 9). So I'm not able to get the effect you are getting there. I'm using IE11 as my browser, and the F12 developer tools to put the browser into "Edge" (ie 11), 10,9 and 8 modes.

Are you sure there's a problem in IE 11 on your side? I'm going to update the javascript for the 8.33 build anyway - but I tried with the current javascript and no problems in 11.

Cheers
Bruce
Title: Re: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: astahl on December 03, 2014, 09:42:10 AM
Hi Bruce,

That is the one problem I had with file upload with IE8, IE9, and IE10. I had to code for the detection of IE and switch the upload to the old method.

Ashley
Title: Re: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: sukhendu on December 03, 2014, 01:29:08 PM
Bruce,

IE-11 works fine.  I was testing on 2 computers.  I thought I was using IE-11 on the other computer, but both have IE-8.

How to detect which browser user is using?

Regards,
Sukhendu
Title: Re: File Upload Failing in IE browser but not in Chrome or Firefox
Post by: Bruce on December 03, 2014, 09:53:33 PM
p_web.useragent = 'msie8'