Hey I'm trying to send data from flash (in a large string) to javascript. This works fine for ie7 and firefox. But in ie6 it does nothing.
I started to do some tests to find the problem and came to the conclusion that when I put this text in the ie6 addressbar (first run the testpage and then put this script in the addressbar)
"javascript:testFunction("A very long string, more than 1000 characters ...")" it does nothing,
but when i put "javascript:testFunction("A small string, around 100 characters ...")" it works fine in ie6.

If I put this in the addressbar of ie6 it shows an alert box with the text:
javascript:testFunction("ttttttttttttttttttttttttttt")

If I put this in the addressbar of ie6 it doesn't work:
javascript:testFunction("tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt")

this is my javascript test function:

function testFunction(s){
alert(s);
}

Is there someone who knows an answer for this problem?

glenngv

02-27-2007, 07:18 PM

The URL size has a limit different for each browser. IE has a limitation of 2,083 characters (http://support.microsoft.com/kb/208427). For other browsers I'm not sure but you can see it from here (http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/get/url-parameters.html).