Re: Aaron kant add (or whatever it was)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28957
interpreted = N
texte = >>does anybody know how to prevent that from happening? On _EVERY PAGE_ >>that I have ever written, where I allow a web submission to a database, >>occaisionally I get records filled with [the_tag] rather than the_data >>(see below) >> >>6 Andrew Cleverdon 8913 Walden Rd. Silver Spring >> MD 20901 United States >>7 %5b_fname%5d %5b_lname%5d [_address1] [_address2] >> [_city] [_STATE] [_zip] >>[_dphone] [_nphone] >> >>I don't know what causes this, every once in a while my db which tracks >>order totals gets an entry like this which gums up the works. > >Perhaps a long-standing unfixed bug in version 2.x only shows up >intermittently, such as when your server is very busy and webcat >doesn't have time or memory enough to interpret everything ... ???This is pure conjecture, and this kind of unsubstantiated dig doesn't help our customers solve their problems, Ken.The real answer is probably much simpler: on
, most browsers do not re-send the form data when the user hits the back or reload buttons on a URL. Since none of the variables is defined at that point, they get interpreted as being plain raw text instead of the desired variables. This is a function of the browser, not WebCatalog.The way to prevent it is to use[ShowIf [raw][_address1][/raw]=[_address1]] Show some error message here, or even [redirect] if you like [/ShowIf]at the top of the form submission page.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Aaron kant add (or whatever it was) (John Butler 2000)
  2. Re: Aaron kant add (or whatever it was) (Isaac Vega 2000)
  3. Re: Aaron kant add (or whatever it was) (John Butler 2000)
  4. Re: Aaron kant add (or whatever it was) (Aaron Lynch 2000)
  5. Re: Aaron kant add (or whatever it was) (Aaron Lynch 2000)
  6. Re: Aaron kant add (or whatever it was) (Brad Eisenberg 2000)
  7. Re: Aaron kant add (or whatever it was) (Aaron Lynch 2000)
  8. Re: Aaron kant add (or whatever it was) (Kenneth Grome 2000)
  9. Re: Aaron kant add (or whatever it was) (WebDNA Support 2000)
  10. Re: Aaron kant add (or whatever it was) (John Butler 2000)
  11. Re: Aaron kant add (or whatever it was) (John Butler 2000)
  12. Re: Aaron kant add (or whatever it was) (Kenneth Grome 2000)
  13. Re: Aaron kant add (or whatever it was) (Kenneth Grome 2000)
  14. Re: Aaron kant add (or whatever it was) (Aaron Lynch 2000)
  15. Re: Aaron kant add (or whatever it was) (John Butler 2000)
  16. Re: Aaron kant add (or whatever it was) (John Butler 2000)
  17. Re: Aaron kant add (or whatever it was) (Aaron Lynch 2000)
  18. Re: Aaron kant add (or whatever it was) (Aaron Lynch 2000)
  19. Re: Aaron kant add (or whatever it was) (WebDNA Support 2000)
  20. Aaron kant add (or whatever it was) (John Butler 2000)
>>does anybody know how to prevent that from happening? On _EVERY PAGE_ >>that I have ever written, where I allow a web submission to a database, >>occaisionally I get records filled with [the_tag] rather than the_data >>(see below) >> >>6 Andrew Cleverdon 8913 Walden Rd. Silver Spring >> MD 20901 United States >>7 %5b_fname%5d %5b_lname%5d [_address1] [_address2] >> [_city] [_STATE] [_zip] >>[_dphone] [_nphone] >> >>I don't know what causes this, every once in a while my db which tracks >>order totals gets an entry like this which gums up the works. > >Perhaps a long-standing unfixed bug in version 2.x only shows up >intermittently, such as when your server is very busy and webcat >doesn't have time or memory enough to interpret everything ... ???This is pure conjecture, and this kind of unsubstantiated dig doesn't help our customers solve their problems, Ken.The real answer is probably much simpler: on , most browsers do not re-send the form data when the user hits the back or reload buttons on a URL. Since none of the variables is defined at that point, they get interpreted as being plain raw text instead of the desired variables. This is a function of the browser, not WebCatalog.The way to prevent it is to use[ShowIf [raw][_address1][/raw]=[_address1]] Show some error message here, or even [redirect] if you like [/ShowIf]at the top of the form submission page.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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 WebDNA Support

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:

[WebDNA] SEARCH question - SHOWIF - HIDEIF question (2011) autocommit problem (1998) Getting total number of items ordered (1997) Help! WebCat2 bug (1997) Email password -- was Classified Ads 4 Sale (1998) Using [random] (1999) Browser Resolution (1999) Tax issue (2005) Not reading code (1997) Help!!!! (1997) Re:multiple digests, please stop (1997) Browser Back button (2003) Where is f2? (1997) PSC recommends what date format yr 2000??? (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Bug or syntax error on my part? (1997) [WebDNA] Simple Date Format Conversion (2008) Calculating multiple shipping... (1997) Auction (2000) Online reference (1997)