Re: Causes Site to Crash...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32448
interpreted = N
texte = Do NOT use the [searchstring] tag, instead, simply write your own search string into the URL -- then it will not duplicate the search string again and again ...>Problem described after 2 tpl's are shown... This is on Version 3.0.4 of >Webcatalog running on NT Version 4.0 W/SP6a and Website V2.4. > >This is the first TPL that is shown. > >HTML> > > >
>
> >

Enter A Category : > > >

>

>

> href=subcatresults.tpl?command=search&db=subcategory.db&necatdata=0&max=25& >catsort=1&cattype=num&descriptionsort=2>Display All Sub- >Categories


>
> > > > >Here is the subcatresults.tpl page... 2nd TPL. > > > > >Admin Sub-Category Edit/Delete Option Menu > > > > >

Admin Edit - Delete Sub-Categorys

>(Number of Sub Categories Found = [numfound])
>Search Sub-Categories
> >

> > > > > > > >
CatSub-CatDescription
>
Delete
>
Edit
[cat][subcat][description]href=scategory_delete.tpl?form.subcat=[subcat]>Deletehref=scategory_edit.tpl?form.subcat=[subcat]>Edit

>
> [shownext position=begin&max=30] > href=subcatresults.tpl?command=search&[searchstring]>[math]ceil([end]/25)[ >/math] > [/shownext] > [shownext >position=middle][math]ceil([end]/25)[/math][/shownext] > [shownext position=end&max=30] > href=subcatresults.tpl?command=search&[searchstring]>[math]ceil([end]/25)[ >/math] > [/shownext] >
>
> > > >The results when I choose Display All Sub_Categories, are the expected ones. >I get a display of 25 Sub-Categories and at the bottom I get the choice of > >1 2 3 4 5 6 etc... which when clcking on them, shows me the other >Sub-Categories. > >The Problem: If I continuosly click back and forth on the numbers to view >the various sub-categories, the command line keeps growing. It eventually >CRASHES Website/WebCatalog and it has to be reset. I presume that it grows >larger than 255 characters! I know I can prevent this by not doing this as >this is in my Admin page, but... I want to use the similar code for listing >of Ads and the public will be able to do the same. Actually, I will >probably change MAX=1 and use PREVIOUS * NEXT instead of the numbers but it >will give the same results. > >Is there anyway to reset the command line or change my code so it doesn't >cause the command line to Grow? >Is there a way to use a POST command instead of a GET command? If so, can >anyone steer me in that direction? > >Thanks > >John > > > > >------------------------------------------------------------- >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/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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:

    
  1. Re: Causes Site to Crash... (John -Theed 2000)
  2. Re: Causes Site to Crash... (Kenneth Grome 2000)
  3. Causes Site to Crash... (John -Theed 2000)
Do NOT use the [searchstring] tag, instead, simply write your own search string into the URL -- then it will not duplicate the search string again and again ...>Problem described after 2 tpl's are shown... This is on Version 3.0.4 of >Webcatalog running on NT Version 4.0 W/SP6a and Website V2.4. > >This is the first TPL that is shown. > >HTML> > > >
>
> >

Enter A Category : > > >

>

>

> href=subcatresults.tpl?command=search&db=subcategory.db&necatdata=0&max=25& >catsort=1&cattype=num&descriptionsort=2>Display All Sub- >Categories


>
> > > > >Here is the subcatresults.tpl page... 2nd TPL. > > > > >Admin Sub-Category Edit/Delete Option Menu > > > > >

Admin Edit - Delete Sub-Categorys

>(Number of Sub Categories Found = [numfound])
>Search Sub-Categories
> >

> > > > > > > >
CatSub-CatDescription
>
Delete
>
Edit
[cat][subcat][description]href=scategory_delete.tpl?form.subcat=[subcat]>Deletehref=scategory_edit.tpl?form.subcat=[subcat]>Edit

>
> [shownext position=begin&max=30] > href=subcatresults.tpl?command=search&[searchstring]>[math]ceil([end]/25)[ >/math] > [/shownext] > [shownext >position=middle][math]ceil([end]/25)[/math][/shownext] > [shownext position=end&max=30] > href=subcatresults.tpl?command=search&[searchstring]>[math]ceil([end]/25)[ >/math] > [/shownext] >
>
> > > >The results when I choose Display All Sub_Categories, are the expected ones. >I get a display of 25 Sub-Categories and at the bottom I get the choice of > >1 2 3 4 5 6 etc... which when clcking on them, shows me the other >Sub-Categories. > >The Problem: If I continuosly click back and forth on the numbers to view >the various sub-categories, the command line keeps growing. It eventually >CRASHES Website/WebCatalog and it has to be reset. I presume that it grows >larger than 255 characters! I know I can prevent this by not doing this as >this is in my Admin page, but... I want to use the similar code for listing >of Ads and the public will be able to do the same. Actually, I will >probably change MAX=1 and use PREVIOUS * NEXT instead of the numbers but it >will give the same results. > >Is there anyway to reset the command line or change my code so it doesn't >cause the command line to Grow? >Is there a way to use a POST command instead of a GET command? If so, can >anyone steer me in that direction? > >Thanks > >John > > > > >------------------------------------------------------------- >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/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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/ Kenneth Grome

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:

Interfacing WebMerchant to www.fedex.com (1997) Multiple Passwords (1997) Re:Problem displaying search result (1997) shownext (1997) WebCat2.0 [format thousands .0f] no go (1997) Showing unopened cart (1997) Problem with updating 2.1b7 -> 2.1.1 (1998) WAP (2000) RePost: NAT and the CART (1999) Database Updates (1997) Sending PGP Mail from WebCatalog (2000) Hello??? (1997) Credit Card Number checking (1997) Nesting Search Within Tag? (1997) Mac Programs (1998) NetForms for mail, sorry (1998) How does WebCatalog search the database? (1997) Sorting by date (1997) [WebDNA] v7 problem? (2012) 2.01 upgrade problems (1997)