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:

Fwd: About WebCatalog and iTools 7 (2003) WebCat for mass emailings (1997) Development terminated. (1998) New public beta available (1997) Here's an example of an applet in a tpl (1997) Location of Browser Info.txt file (1997) Re[2]: [OT] Help Webcat 213 win (2000) MacAutorize and T1 (1998) OFF-TOPIC: No messages since Saturday (1998) How to add product size choices to form? (1997) [WebDNA] [shell] issue on Mac; file not appearing a PERL exe... (2009) carriage returns in data (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Buying sans cart (1997) Upload and WebCat (1998) useful guidelines =] vs !] (2007) MATH PROBLEM (1997) Include vs. lookup? (1998) Bookmarked URL with cart (1998) Only charge card when product shipped ? (1997)