% Dim txtQueryString Rem -- Here all the GET elements are picked up and put in a string value. Function GetAllGetElements() Dim Item, i txtQueryString = "" If Request.QueryString.Count > 0 Then For Each Item In Request.QueryString For i = 1 To Request.QueryString(Item).Count txtQueryString = txtQueryString & Item & "=" & server.URLEncode(Request.QueryString(Item)(i)) & "&" Next Next txtQueryString = Left(txtQueryString, Len(txtQueryString) - 1) End If End Function Rem -- Here all the POST elements are picked up written as hidden fields. Function GetAllPostElements() Dim Item, i If Request.Form.Count > 0 Then For Each Item In Request.form For i = 1 To Request.form(Item).Count %><% Next Next End If End Function %>
|