I have created a search engine. The user enters in data in the preceding form (list box and input box) and this data is passed to SEARCH2.CGI. The engine runs through the dbase and pulls out the matches and returns it to the user.
Now the returned matches can be HUGE (400+) and so I display a maximum of 20 matches. A "NEXT" hyperlink text will appear for the user to click to the next page (much like YAHOO). Now when the user clicks the NEXT text it recalls the search engine with the user data again and it will continue from where it left off and so pass back the next 20 matches. How I achieved this is I place a LONG query string after the earch2.cgi name: (http://mysite/search2.cgi?N1=100&N2=3000&N4=1&E=100
The data after the "?" can be quite long. I heard/read that the QUERY STRING size is finite (quite small) and so my enormous NEXT hyperlink probably won't work. Is this true? What is the limit for QUERY STRING or is it server dependent?
The only thing I heard that can solve this problem is using the POST method as most of us do when we send out forms. Problem I'm having though is how to get my NEXT hyperlink text to send its required data via the POST method withou "having" to use any form objects?
Any solutions you brainyacks?