Re: WebCat 4 crashes WebStar / Shownext Links
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36929
interpreted = N
texte = DELETED wrote:> > > This is a problem with the [searchstring] tag. The solution is 'just> don't use it'. Instead, write your search parameters manually in your> shownext links.> Or you can use [searchstring] AS IT WAS DESIGNED and not worry about it. [searchstring] returns EVERYTHING YOU NEED TO DO THE SEARCH. That includes start= and max= if you included them in the original search because you were going to be using [shownext]. It also includes command=search (which is what most people forget). If you have a well formed search, on any subsequent page all you need to have is: [ShowNext position=begin&method=post&max=1]
[/ShowNext]or [ShowNext position=begin&max=1]
Show items[start]-[end] [/ShowNext]and the [searchstring] includes EVERYTHING else you need. The examplein the docs incorrectly includes command=search which will cause the WebCat server process to eventually run out of buffer and crash. PLEASE SMSI - FIX THIS LONGSTANDING DOCUMENTATION PROBLEM!!!!!But the context does work (I use that first example above on all of my sites)!But don't let me bully you - try it for yourself. Include a [shownext]on a page in a search context and just put the [searchstring] tag in there and look at the source text. Don't make it part of an href line, just put it there in an HTML comment. I prefer to see the method=post version because it is much more readable (IMO), but you don't need to do that to see what is there.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
DELETED wrote:> > > This is a problem with the [searchstring] tag. The solution is 'just> don't use it'. Instead, write your search parameters manually in your> shownext links.> Or you can use [searchstring] AS IT WAS DESIGNED and not worry about it. [searchstring] returns EVERYTHING YOU NEED TO DO THE SEARCH. That includes start= and max= if you included them in the original search because you were going to be using [shownext]. It also includes command=search (which is what most people forget). If you have a well formed search, on any subsequent page all you need to have is: [ShowNext position=begin&method=post&max=1] [/ShowNext]or [ShowNext position=begin&max=1] Show items[start]-[end]
[/ShowNext]and the [searchstring] includes EVERYTHING else you need. The examplein the docs incorrectly includes command=search which will cause the WebCat server process to eventually run out of buffer and crash. PLEASE SMSI - FIX THIS LONGSTANDING DOCUMENTATION PROBLEM!!!!!But the context does work (I use that first example above on all of my sites)!But don't let me bully you - try it for yourself. Include a [shownext]on a page in a search context and just put the [searchstring] tag in there and look at the source text. Don't make it part of an href line, just put it there in an HTML comment. I prefer to see the method=post version because it is much more readable (IMO), but you don't need to do that to see what is there.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://search.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:
Email password -- was Classified Ads 4 Sale (1998)
Help! WebCat2 bug (1997)
Exclamation point (1997)
[WebDNA] Help with work-around format date (2013)
Submitting ampersands in forms... (1998)
PCS Frames (1997)
[delete .. &max=] (2004)
Almost a there but..bye bye NetCloak (1997)
emailer setup (1997)
Storefornts (1997)
Item counting? (1998)
RE: Formulas.db + Users.db (1997)
random images (1997)
2.0 Info (1997)
Alternating colors (1997)
Re2: frames & carts (1997)
Grouping Fields in Context (1999)
Running 2 two WebCatalog.acgi's (1996)
UPPERCASE (1997)
Opinion: [input] should be called [output] ... (1997)