Abundant Technologies - IT Consulting Experts

 Source Code Library

 Code Details

 
// JavaScript Version /******************************************************** * Use this code to test your web page * * It will dump the Form, QueryString, & * * ServerVariables Collections * ********************************************************/ //++++++++++++++++++TEST AREA++++++++++++++++++++++++++++ Response.Write("
"); for(var i=1;i<=Request.QueryString.Count;i++){ Response.Write("QueryString Variable - "+Request.QueryString.Key(i)+" = "+Request.QueryString.Item(i)+"
"); } for(var i=1;i<=Request.Form.Count;i++){ Response.Write("Form Variable - "+Request.Form.Key(i)+" = "+Request.Form.Item(i)+"
"); } for(var i=3;i<=Request.ServerVariables.Count;i++){ //skip 1 & 2, they are a summary of the rest Response.Write("ServerVariable Variable - "+Request.ServerVariables.Key(i)+" = "+Request.ServerVariables.Item(i)+"
"); } Response.Write("
"); //++++++++++++++++++TEST AREA++++++++++++++++++++++++++++ -------------------------------------------------------------------- ' VB Script Version '******************************************************** '* Use this code to test your web page * '* It will dump the Form, QueryString, & * '* ServerVariables Collections * '******************************************************** '++++++++++++++++++TEST AREA++++++++++++++++++++++++++++ Dim i Response.Write("
") For i = 1 To Request.QueryString.Count Response.Write("QueryString Variable - " & Request.QueryString.Key(i) & " = "+Request.QueryString.Item(i) & "
") Next For i = 1 To Request.Form.Count Response.Write("Form Variable - " & Request.Form.Key(i) & " = " & Request.Form.Item(i) & "
") Next For i = 3 To Request.ServerVariables.Count 'skip 1 & 2, they are a summary of the rest Response.Write("ServerVariable Variable - " & Request.ServerVariables.Key(i) & " = "+Request.ServerVariables.Item(i) & "
") Next Response.Write("
") '++++++++++++++++++TEST AREA++++++++++++++++++++++++++++

Mail To: info@3pc.com