HTTP/1.1 302 Found

  • Deepak Anand

    Deepak Anand - 2009-02-25


    I get the above mentioned error. I have copied the request and response below:
    Can someone kindly help me figure out what the problem is ?


    POST /foo/bar/wsserver.php HTTP/1.0
    User-Agent: NuSOAP/0.7.3 (1.114)
    Content-Type: text/xml; charset=ISO-8859-1
    SOAPAction: ""
    Content-Length: 534

    <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC="" xmlns:tns=""><SOAP-ENV:Body><tns:Browse xmlns:tns=""><qstr xsi:type="xsd:string">&lt;key&gt;&lt;/key&gt;</qstr></tns:Browse></SOAP-ENV:Body></SOAP-ENV:Envelope>


    HTTP/1.1 302 Found
    Date: Wed, 25 Feb 2009 00:26:24 GMT
    Server: Apache
    Set-Cookie: PHPSESSID=hj5i98n467gc4fqmh5kmggh007; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Location: ?
    Content-Length: 0
    Connection: close
    Content-Type: text/xml

    • Deepak Anand

      Deepak Anand - 2009-03-05


      This was happening because of a prepared function I was using to execute a select statement which internally redirected on an sql statment error,
      i.e. the function was something like this:

      function real_execute_query( $query, $db_conn )
          global $_err_fatal;
          global $_err_page;
          $result = mysql_query( $query, $db_conn );
          $error_msg = mysql_error( $db_conn ) ;
          if( $error_msg != "" )
              real_log_error( $db_conn, $error_msg, $query );
              real_set_error( $_err_fatal );
              real_redirect_onerror( $_err_page, "", $db_conn);
          return $result;

      I was using it like this:

      $get_people_contact_results = real_execute_query( $get_people_contact_query, $db_conn );


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks