I have a string which I need to return using ajax (and asp.net). The string is too long though and I get an out of memory exception (yes it is huge). I was wondering if using the JSON would get around this limitation? I've never used it before...
JSON is merely an encoding scheme, sending data encoded as JavaScript array and object literals. How would this change the fact that you are sending a large string?
It would seem that Ajax is probably not an appropriate mechanism for fetching a huge amount of data in a single call.
My question was to see if the data you are sending really are structured in some way that would allow the data to be subdivided. If the data can be subdivided, then perhaps a series of Ajax callbacks can be used. I note in your ASP .NET FAQ that you seem to be stringing a bunch of things together.
So, perhaps there is a mechanism available to you to subdivide the data?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.