Hi,My Problem is i am not able to pass a relatively long string to CGI. When i trying to pass the string as a parameter to CGI call, it is truncating the string. Is there is any limit on to string lenght passed as argument ?If so how can i overcome this problem ?My Call is something like this :********************************var url="http://"+ server +"/iw-bin/html/checkhtml.pl?sendString="+sendString;window.open(url,'ValidateHTML','resizable=1,width=500,height=600,scrollbars=yes');********************************Are you finding any problem with the way CGI callout has been called ??Please suggest me any alternative if any ??Thanks a Million in advance..!Regards,Pavi
Hi Praveen,You can write the string in a file and send that file name as a key value pair to the URL.For eg:-urlToOpen = fileToOpen.cgi?filename="+fileName;where fileName is the name of the file where you have written the string and in the cgi,you can retrieve the name by using form varibale filename.window.open(urlToOpen,'winName',''height=400,width=600,resizable=yes');Thanks,Natasha.
For that matter,we can use the call server method and pass the third parameter as false which means the parameters are being sent through POST method which has no such limitation on the length of the string.callServer("http://"+server+"/iw-bin/fileName.cgi",inputParam,false);Thanks,Natasha.