CGI Forms and "Next 20 Results" button.
Posted on 2000-03-16
I have a Meta Search which returns 100 results.
I put it in a hash with URL being the key. It's a hash of hash's.
I could easily just show all 100 results on one page.
I just print out the hash.
How do I use a "Next 20 Results" button on a CGI Form?
I've tried passing an array and even a reference to array
but it always returns just the first thing on the list. I was thinking about passing a LOT OF DATA , the whole 100 results, back to the
Also, in CGI web programming you have to reload the page every time a button is pressed!
Anyways, my question is this:
How do I make a "Next 20 Results" button if:
a) I can't write to disk (200 users x 100 results, every 5 minutes. No).
b) I have to reload the Form because they pressed a button.
c) I don't want to have to do the Search "AGAIN" everytime they
press a button. I have no way of asking each search engine which
results I want (like 10-20, 30-40, ect....only how many right now).
P.S. I just want the user to be able to see results 20 at a time (out
of the 100 I have for them). How hard could this be!