Why jquery uploadify fails to upload files in Firefox

Source: Internet
Author: User

The reason why jquery uploadify fails to upload files in Firefox:

The reason why uploadify cannot be uploaded in Firefox is that flash cannot read the session. If there is session authentication in the background, such as whether the user is logged on, the upload fails. However, the upload is successful under ie Because Adobe Flash can read IE (speechless). You can solve the problem by yourself.
Solution

See the aboveCodeThe principle is very simple, that is, to determine whether the browser is an Internet Explorer. If so,
The server reads the cookie value in a normal way. Otherwise, the server uses the client js method
The cookie is obtained and then transmitted to the server through the URL.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.