Skip to content Skip to sidebar Skip to footer

Jquery File Upload - Not Sending Headers In Ie9

I'm using jQuery Fileupload to upload files. Its not sending headers that I set to the server. Why is the Authorization header missing only in IE but passed in chrome? Here is the

Solution 1:

This answers my question,

Only browsers with support for XHR file upload support setting custom headers.


Solution 2:

As a workaround in old browsers like our dear IE, you could set a cookie with the authentication token when the user authenticate and then get it in the server and verify it the same way you verify the header one. I know that it is not the most elegant solution but it works.


Post a Comment for "Jquery File Upload - Not Sending Headers In Ie9"