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:
Scoping rules in WebDNA 4.0 (2000)
politeness (was searches with dash...) Please Read (2000)
problems with 2 tags (1997)
Re:2nd WebCatalog2 Feature Request (1996)
2 databases (1998)
Bug? (1997)
Add command creates new cart but I'm passing existing cart...? (2000)
email error 159 (1998)
WebCatalog for Postcards ? (1997)
Quickie question on the email templates (1997)
New Guy (2000)
Search in 2 or more catalogs (1997)
Still can't interpret encrypted templates. (2003)
Bug or syntax error on my part? (1997)
Running _every_ page through WebCat ? (1997)
[ModDate] & [ModTime] ? (1997)
ShippingCosts (1998)
Upgrading old WebCat Database Files (1997)
[WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012)
taxrate (1999)