Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

HTTP ERROR 302
  • Hello,

    I am using uploadify v2.1.0 with spring, browser Firefox and experiencing HTTP Error 302.

    At one point, I was able to successfully make the request, upload the files. For some reason I had to restart my machine then started eclipse, started tomcat v6.0 server and deployed my project. After this when I try to upload files with the same code both on the server side and client side, I get HTTP Error 302.

    Anybody who dealt with similar problem or has an idea or solution to overcome this problem ... please help !

    Thanks !
  • After spending time ready and researching, found out atleast the lastest version of flash player seems to ignore the session when making a request and therefore any server side implementation with some authentication is gonna return HTTP 302 error (i.e., redirecti).

    Bottom line ... looks like this has nothing to do with the uploadify but flash in general.
  • I am running into the same issue using uploadify with ColdFusion (ACF9) and the FW1 framework. I have already tried having my authentication ignore the upload script page but this does not seem to help - makes sense that it may Flash related then.

    Anyone have any ideas on how to work around this? I really like the flow and front end of this approach to uploads.
  • Head comes up off desk - after revisiting the security workaround I got this working quite well.

    Here's a bit of code from my security controller that did the trick:
    if listfindnocase( 'uploadify.uploadify', variables.fw.getFullyQualifiedAction()
    then skip the login redirect.
  • Hi - I am getting the same problem. Where did you put that code at?
  • For a long time I had trouble with 302 error too...

    I find solution for my enviroment (PHP CMF Cotonti)
    to place some kind check code before actual CMS security check.
    Error happens because CMF expected AJAX call with POST method.
    So now I checked these parameters

    if ($_SERVER['HTTP_USER_AGENT'] == 'Shockwave Flash'
    && substr($_SERVER['CONTENT_TYPE'],0,19) == 'multipart/form-data'
    && !$_SERVER['HTTP_X_REQUESTED_WITH'] ) {
    define('COT_NO_ANTIXSS',true); // actually disable further secure check.
    }


    for FlashUpload query and disable secure check.