Kin Hong schrieb:

> Recently I've encountered a problem that an ajax method in JavaScript
> can't receive a very long string whose length is 1MB or so.  But when I
 >
 > [....]
>
> Who can help me here? many thanks.


I think the timeout (default 10 Second) for a request stops the request, 
'cause the transfer may . So you must increase your time out.

AjaxPro.timeoutPeriod = 60*1000; // 60 seconds

And also do Error Handling!

function onReturn(rst)
{
        if (rst.error != null)
        {
           alert(rst.error.Message)
        }
        else
            document.all.divInfo.innerHTML = rst.value;
}

So you see a possible error Message.

-- 
Freundliche Grüße

Albert Weinert

http://der-albert.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to