Re: Problem with shownext
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53013
interpreted = N
texte = Kenneth Grome wrote:> But when the same template is used on the live server, all the shownext > links above 500 are not shown, which makes it IMPOSSIBLE to page thru > all 1400 records. Instead, the only visible shownext links are the ones > that will display the first 500 found items.> That is the way that MaxFound has _always_ worked, it is the way that it is _documented_ to work, and the way that makes most sense. Set the MaxFound on the production site to a higher value.MaxFound and ShowNext are two different ways to make sure that you don't dump your entire database into a single page. MaxFound protects you against people running trivial searches (e.g. all records containing 'A') and bringing your web server to it's knees trying to generate a multimegabyte HTML file (not to mention bring the browser to a halt trying the render that large page).ShowNext, on the other hand, is intended to display small, byte-sized chunks of a much larger data set. If you are using ShowNext on your results pages, you should always set MaxFound to a high enough value to reasonably cover your largest possible search sets. ShowNext will efficiently display a limited window of records.If you use ShowNext, there is no real reason to set MaxFound to a small value, since you can always limit the return set to a reasonable size. But if you do this, you need to /always/ use ShowNext, so that you never have an uncontrolled return set.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Kenneth Grome wrote:> But when the same template is used on the live server, all the shownext > links above 500 are not shown, which makes it IMPOSSIBLE to page thru > all 1400 records. Instead, the only visible shownext links are the ones > that will display the first 500 found items.> That is the way that MaxFound has _always_ worked, it is the way that it is _documented_ to work, and the way that makes most sense. Set the MaxFound on the production site to a higher value.MaxFound and ShowNext are two different ways to make sure that you don't dump your entire database into a single page. MaxFound protects you against people running trivial searches (e.g. all records containing 'A') and bringing your web server to it's knees trying to generate a multimegabyte HTML file (not to mention bring the browser to a halt trying the render that large page).ShowNext, on the other hand, is intended to display small, byte-sized chunks of a much larger data set. If you are using ShowNext on your results pages, you should always set MaxFound to a high enough value to reasonably cover your largest possible search sets. ShowNext will efficiently display a limited window of records.If you use ShowNext, there is no real reason to set MaxFound to a small value, since you can always limit the return set to a reasonable size. But if you do this, you need to /always/ use ShowNext, so that you never have an uncontrolled return set.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Listserver problem (1997)
OH CRAP!!!!!- Template not found error!!! (1999)
Displaying raw values (long) (1998)
Using Cookie for client specific info? (1997)
New public beta available (1997)
Not really WebCat (1997)
Search over 500 (2000)
performans tests... (2001)
WebCatalog NT beta 18 now available (1997)
Calculating Shipping (1997)
WebDNA on FreeVSD? (2002)
taxTotal, grandTotal (1997)
Not really WebCat (1997)
purchase plugin (1996)
Great product and great job ! (1997)
[WebDNA] How to go into old WebCatalog? (2009)
RE: [taxRate] [TaxTotal] ? (1997)
RE: Explorer oddities (1997)
form data submission gets truncated (1997)
synching databases on multiple servers (1997)