Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using post method of ajax in asp
and want to retrieve value in back page but getting error

XML
<pre lang="cs">var newArray = myArray.join(&quot;!-@-$_&quot;);
        xmlhttp.open(&quot;POST&quot;, &quot;Ajaxasp.asp&quot;, true);
        xmlhttp.setRequestHeader(&quot;Content-type&quot;, &quot;application/x-www-form-urlencoded&quot;);
        xmlhttp.send(&quot;newArray=&quot; + newArray);</pre>

how to retrieve data from newArray in backside page

surabhi
Posted

1 solution

Check for it in Request.Forms collection.

Try:
HTML
Request.Form("newArray")

Refer:
MSDN: Request.Form Collection[^]
Request.Form[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900