This topic is locked
[SOLVED]

 POST vs GET 6.2 vs 5.2

4/11/2010 9:50:20 PM
ASPRunnerPro General questions
C
clig author

If for example I change in classes/listpage.asp (6.2)
Function method_ListPage_getSeachFormHTML(byref this_object)

Dim this

method_ListPage_getSeachFormHTML = ((((((((("<form id=""frmSearch" & CSmartStr(this_object.id)) & """ name=""frmSearch") & CSmartStr(this_object.id)) & """ method=""GET"" ") & CSmartStr(this_object.getFormTargetHTML())) & " action=""") & CSmartStr(GetTableURL(this_object.tName))) & "list.asp""> " & vbcrlf &

" ") & CSmartStr(thisobject.getFormInputsHTML())) & vbcrlf &

" </form>"

Exit Function

End Function

  • 5.2 template;
    <form name="frmSearch" method="GET" action="dbo_NTSS_Tickets_Me_list.asp">

    <input type="Hidden" name="a" value="search">

    <input type="Hidden" name="value" value="1">

    <input type="Hidden" name="SearchFor" value="">

    <input type="Hidden" name="SearchOption" value="">

    <input type="Hidden" name="SearchField" value="">

    </form>
    when you execute the search in 5.2 the url displays the parameters passed however this is not the case in 6.2 - is there a work around to have URL inlcude parameters in browser address bar - the reasoning is to build canned searches into a menu structure...

C
clig author 5/1/2010



If for example I change in classes/listpage.asp (6.2)
Function method_ListPage_getSeachFormHTML(byref this_object)

Dim this

method_ListPage_getSeachFormHTML = ((((((((("<form id=""frmSearch" & CSmartStr(this_object.id)) & """ name=""frmSearch") & CSmartStr(this_object.id)) & """ method=""GET"" ") & CSmartStr(this_object.getFormTargetHTML())) & " action=""") & CSmartStr(GetTableURL(this_object.tName))) & "list.asp""> " & vbcrlf &

" ") & CSmartStr(thisobject.getFormInputsHTML())) & vbcrlf &

" </form>"

Exit Function

End Function

  • 5.2 template;
    <form name="frmSearch" method="GET" action="dbo_NTSS_Tickets_Me_list.asp">

    <input type="Hidden" name="a" value="search">

    <input type="Hidden" name="value" value="1">

    <input type="Hidden" name="SearchFor" value="">

    <input type="Hidden" name="SearchOption" value="">

    <input type="Hidden" name="SearchField" value="">

    </form>
    when you execute the search in 5.2 the url displays the parameters passed however this is not the case in 6.2 - is there a work around to have URL inlcude parameters in browser address bar - the reasoning is to build canned searches into a menu structure...


I wil try to rephrase - which source file do I need to edit in 6.2 to fix this problem in "filenamexxx_search.asp"?
Set contents_block = (CreateDictionary())

setArrElement contents_block,"begin","<form method=""POST"" "

  • I would like to have this set to "GET"

C
clig author 5/6/2010

found it
"C:\Program Files\ASPRunnerPro6.2\source\search.asp" - line 191: setArrElement contents_block,"begin","<form method=""GET"" "