Foros del Web » Programando para Internet » Jquery »

Problema envio ajax con jquery con data muy larga

Estas en el tema de Problema envio ajax con jquery con data muy larga en el foro de Jquery en Foros del Web. Hola a todos. Estoy enviando una url por ajax con jquery, Código HTML: $.ajax({ async: async, //global url: '../connectors/ajaxservice.php', data: data, dataType: 'json', type: 'post', ...
  #1 (permalink)  
Antiguo 31/10/2011, 10:35
 
Fecha de Ingreso: julio-2009
Mensajes: 84
Antigüedad: 15 años, 4 meses
Puntos: 1
Problema envio ajax con jquery con data muy larga

Hola a todos.

Estoy enviando una url por ajax con jquery,

Código HTML:
  $.ajax({
    async: async, //global
    url: '../connectors/ajaxservice.php',
    data: data,
    dataType: 'json',
    type: 'post',
    success: function (j) {
      cb_call_ajax(j);
    },
    error: function(obj1, e, obj2) {
      jAlert("Se produjo un error : "+ e);
    }
  });
pero se me viene presentando un error que me tiene bastante confundido, ya que al parecer no se envia el request cuando el data es muy grande, los parametros se verian añlgo asi

Código HTML:
action=insert_cotizacion&params=%3DlJ%3DM%08%0C%06%13!S%3Cf_2%1E%0E%07D%23%08%08u%014%192%0Bfc%09%08di%0A1%18MGC%2C8%3D%10D3%11%0B%04QHQ4b5%1C%0F%10H%18%3D5I%08%08Jq%3A9%1AN%06xpDe%1A+%11%1CL1s%09%092%110%19M%07Bh)lh_%13%0AE1c%3D63I%3C%5D%1EK%16%1BMfC)2%5D%0FR%02%1C*%13%19SY%3D6z_%2C%1Bk%08T%3A)J%18n3U%19M%3D6X%3Dl%3D2P%10i7Gl%12%23%0D%19%1A5i5%5BLv*%3D%3B%15%129%3C%1FB1cG3i%24iMG%3D7%3DlDW%5B%3DMb9Xt%2F%60%0DXLd6%3D26%3D27B%60sEx%1C%14g%17L%3B%1C3y%3DlXGA%17%1A%03i+c-%3EY%0BS%04MH%2C%07AY%14F%0Ea1%1DrM%3D7Sa%04I%1B%3D58N%0EGMt%1A8%1C%5B.H%0D%17%03%3D2)%07%3E%3A-D%3D2XG%0D%11%10jc%021MF%03%11%3D%10%5EZ%2Cr2%19%3D7vJd%026%062(%0E%3DMCi%19mPfc%0B%1C.)%14hq0%12N%3E%3D2%14%3D573%1Cs%5E8f%0D%09Zjn%1E%05A%3D%3BX%11%0E%03%0E(f%23%0Dc%3A%3C.%1A%05A8lS%246C(%3Dl4%0Bp%5B%3D%3B%16%3D68%08%1B%1E%11*%06Ik(2%3Eh3%18%3Dl%3DM2p40H2%0D%23%1Ag%0B%0CTP%0B%1E%18%060%2C4.%2F%3D6c%18S%18aAHpb%1C%06%11U(Dj%0Dc%18Je*%0DO*%10~%0DH%23k%7Cs%04B(%05%3D6+%04%01xA*i%04%09P%1C+%08%02D%0AZIGH%2C%16%0FCIMz%3C%1B%04%08%03%08%40n%04%03!%03Zg%04%01%40n%14%0B%3DM%23%3D%3B%086%40%3D2kxD%3A%0Ei%04%0E!s%3A!%13%0C5%23%1FN%5B%3Ep%3CrJ%03%3C%0F%3DM%0FPq%03q%24jJL%0D%2F)NP(%7C%0A%02H%18h%3D6%08%2FRD%0C%23bh%0B%7DF%3D5%23(%03D%13%3ElHEMJ%05%01%04%3D5%11)%03%60%3D5%19+%06a%1B%3DMd%04.%2C%3DMd!%06S!+f%1A%06A%10%24k%1FDM%10l2%3D%3BHk%10%3E%3A%0EC8b%3C%17*%09jvZ9Z%130B4%0DE%01s%1C8%0F%01x%1D%06%24%08%01heZ*VV(_cY%3D%3B%08%18D%23%0AB*VT%10S%02X%0A)%044%02(%23%2C%09w5wP_%0EL%0A*%0F%24%05%01%40b%1A%05%2F(Pf%16%06p%18a%18%7DY%17e%7C65U%0CT%09%7DYH+%03q%3D%10%60X%3D6%0C%16U%07%01%3D%10pV.%0Eo%40j%1E%0D%23S%0AMm%05a%18%60%17%06bN%3Dl)A%0C%03D%08qca%3D%3B%12%1C%1A%1C%07-%3D%3B%3D7%1A%5D0%14~%16e%0Dc%3CZ%1BC%23%2C%3C%09%23I+%0F*%3DM)KI%13%3A%1A%3E%3D7(v%1A%11%16iz%10DZ%3D2%08%3D%3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%16t7%15%17%60R%5EF%02%3C%3D2%12%02%0C%08%5E%01+%5E*%40%23r%3DMB%08%40U%09!B%04%40)W%10k%18%04F%60%11%09%1C%18%02T%3D6%0D%1AEl%3Dl%0A%2CBD%3DM5%3D6%1Cp%5D%04j%05b+X%1C%03y%3Dl%0F_Zi8%0D%2F%3D5%13%03%3CFX%0E%1E%7Cw3%11rZH%3EY*%5E%19c%0C7%13%2FV%1CNC3%40~e%0B%15%7CQJA4)2%04Q%24%5B%60RS*%0CmNJ%3D5C%3D%3B%08Wsw%16%06b%0A%05f0%16%3D%3BB%1C7%03%04p%3DM%03%03Pk%0A)%3D6%04%0F%18%40T%1CBOFU2!k%0F(%40%131JLg.%7D7%3D6%0Aa%3D64%5Ehk%140%16%14%3D6L%0D_RK%40*%04%40%0C%5D9b%10%3D2%05%0C%09(%1B%02%15z%0DXt%403!Pq_0%5Bx%3F%13g3%15%0C4L%02.%02%14%01%15CA02%06.z%01%3D2FfKAc%14u%3DM!%11Y%174z%1AVe_%3D%10%3D2%3D2%401c%2C(I9%1A_Bi%09%7FrjQQH%06%3D%10Z%09I%04%3D7a%19Al%1BR5%03)%24%3Bt%0EPI%3CK%10+E-)%052H%0Em%7C!0%60m%3D7.e%7B%04%3D7%40P%18%40Zzz%0EY%7Cr%3A_5%04!Bw%3D2%3FdV3%16%065%24B%1EZkQZ%23Y%2CC%0A%05%087%15%3D2B6%16H%3D5X%7D)AH%180E%7C%0D%3D2%3BDE%7B6J3O%40XzR%23%1DZ%1F0W%3E%2C1w%3B%5DLh%23K%2F4%1E%04%3D72w%3D5+%1E%3Dl)HHDFt%3A%16jq-d%3D%3BA%10o%09%11%5E4y%16XeB%14%5BK4%3DMvX%07eVG%01kW0%0FsRC%02%23%3A!h7Ex%23Ox%11Q%19YNPHI%1C%0E%40VQ%3C%17ZL%3Dli%60%7Bv%02t2Od%05%10%07heD-%3EGq*XS%14%1E%0E%0CAJcq7N+(%5B7%1CPC%40Lt%0E%01%40%1D%02pl%5E%1Dq%40.8DP-%3D%10%18%230X%13ybG%05Em-%3Dl(%09%02%08%02l4%0A%5B%0B4+%04%40A%12%11B%08C%0A%01%3C)D%02%03o%3D523%0C%15%1D%0EAa%03%40RL%0D%01%2C~%60%40C%7C%16V%15zn.5be%1F%15k.e%7C3BG%0FT.%3C%11C%3E%3CG0d%0Don-%7C%2Ff*%40Xh%3B%0B%3D6p4%3E%13Mx%3D6E69I%03Llz%14%15%0A%5E%11b6jKf0B%24rB8mT%11%60.T%10%60K%7D4rd%14%19%5Df%3B%09mS1%06%06%0B%05%0ESj%3D7%01%0BA%161Fx%7DW%1Bc%12v%05%03%11+y9eD8D%03%3Dl%07qjh%3D2%082a%3FX%07%15%60s%60.S%3D%10X%40N7%04%2C%19%5D%084%15d%01KQ%7BaSv%0A%06%0CA%40-H%09%064df0Q0v(z2%0B%162o%3C%0Cmix36x%2F%11OaibR%1DX%23%07%7D2%3D5-vC%3E%0E%14+9%1F.%0AJ+)O%3DM+%06-B%0Bh%03V%3D2x%14%18P)%0A%2Fb%1F%3DM%0C%3DM%23r%154h)%3D7%3Ed0%1D%15BZBp%07%13Pr%2Fld!1UP_Lb%15~f0%18z%10V%3Aa%05%5E%3D%3B%60l%2Fi%7F4.%3A%16Rzn%06b%06%3BB%3EM_2%14%0B*%120%13-%186%0CSL%0C%14%190%03%40%5B%3Dl%017%3D2%03E7V20E%7B%3Dlt%01%24p%05%3Dlor5%3Cz%077c%0E%1Cv%06Ye%1Dn%3Dl%7DLC%016id%40%7B%09OnV%09%3Bk%3D6Fq1r9*I*%0DlPB%15%7C%23K%5D%07%7Dh%07o+Yx%03b1%3C%12%0F%06%17T%24%11B%3D6%17%3D%3Ba%3D5%0EDR%3DM*%3D2PBv%1Fo%1CY%0B%3A%03%19yja%1F%0E%1DL%0C%60%1AZ%7DdO2*%1C1(6)jh9+z%0D%3B%3DM~Y%3DMK%2F%14e%0A%403%12BxO%09 ... Firebug request size limit has been reached by Firebug. ... %7Ft1hQwF%1BtwJZu%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t~Hu%05%3D6%3D2x%40F~.P%3D2%3D%10~Tm%12%7D%3D7%40V%7Csh*%5B%3C%16%02%1E%3B%05%2F%02%06%0D%03%07%04%40q%3D%10%01%06%09%06%0D%06%60YYX%7FPmri%1EXKX%246h%160H%5B%3D%10hXrqr%3D2~%04%7Bnb%02U%08%06F21zYp%05%3D%10%7D%04n%06%176%3D%10%02z%1EH%07%07xO%06%5E%2F%2CLr%031%1C%12B34%0FN%3DlTh%5BA%3D%10%12%0Dp6KZ%1A%08c%23%04Y0%7C.pD%3B%3A1%3D%10%3D6%13%19%3D%109*Zj1FYB%3Dl%7CL%3ADbN
Hasta donde tenia entenduido, con 0post0 no habia limite para los parametros pero aqui cuando le coloco una data muy larga no hace el envio ajax y me genera un error.

Alguien por favor me puede dar informacion al respecto o explicarme porque pasa esto?

Última edición por ddiaz820427; 31/10/2011 a las 11:45

Etiquetas: ajax, data, js, larga, php
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:00.