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:

Feature: TCPconnect via SSL (1999) Creating a back button (1999) SET (1998) Searching (2004) WebSTAR, OSX, WebDNA permissions problem ... (2005) [WriteFile] problems (1997) AAAH: stupid sendmail (2001) I have troubles to send message out (1998) StartAT and shownext (2000) Search returns all, not 20 (1997) Search results templates (1996) upgrading (1997) [showif] / [hideif] (1997) Resume Catalog ? (1997) [WriteFile] problems (1997) WebCat2 beta 11 - new prefs ... (1997) Credit Card Number checking (1997) 6.1 Patch - Form Data Back Button Issue (2006) insecuretextvars preference doesn't work (2000) Price recalc based on quantity (1997)