Home >Web Front-end >JS Tutorial >Firefox browser reports HTTP 302 error when uploading using jquery.uploadify plug-in_jquery
Solved the problem of uploadify plug-in frequently crashing in chrom, and encountered a new problem, ff browser reported HTTP 302 error,
Uploadify under the ff browser does not include the original session information when uploading a post using flash, but re-creates a session. The new session cannot pass the login verification, so it is redirected to the login page.
The solution is nothing more than to post the original session to the server side, and then change the session that needs to be verified to the one that was posted before the server side login verification. . . (Language organization skills are too poor—,—).
Add when initializing jquery.uploadify:
Since the project uses the zend framework on the server side, all controllers inherit Seed_Controller_Action4Admin. Modifying the base class is afraid of causing other problems, so the base class is not changed, only the init() method of the application controller is changed
Although the HTTP 302 problem is solved, alas. . . Still unreasonable.
In the end, there is still no perfect solution to this problem. If you have a better method, please let us know. This article will continue to be updated.