Re: [cart]=

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58529
interpreted = N
texte = No prizes for guesswork I'm afraid ;-) It's a 5 year old custom built set of sites. Anyway, back to the plot... So it looks like you're actually agreeing with my original posting? My posting said (perhaps not very clearly)... "If the URL in the location bar is changed to contain "www.domain.com/index.tpl?cart="" By this I mean changed by the user, sometimes those pesky users just can't help themselves. (I never actually mentioned creating this "malformed" link) If the "user" edits the URL and removes the Cart value entirely, then I guess we are both agreeing that this will "will assign a form variable named "cart" which will prevent the automatic code from working."? Mark. On 22 Jun 2004, at 2:16 pm, John Peacock wrote: > There is something wrong with the OP (original poster's) site or code, > since cart=[cart] is the correct way to handle this. Reading between > the lines, I'm guessing that the OP is using one of the prebuilt sites > and just created a link "http://www.domain.com/index.tpl?cart=" > without knowing what he was doing. This code > > http://www.domain.com/index.tpl?cart=[cart] > > will automatically assign a cart the first time it is hit. I believe > leaving off the "[cart]" will assign a form variable named "cart" > which will prevent the automatic code from working. ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [cart]= ( Gary Krockover 2004)
  2. Re: [cart]= ( Rob Marquardt 2004)
  3. Re: [cart]= ( Mark Derrick 2004)
  4. Re: [cart]= ( Mark Derrick 2004)
  5. Re: [cart]= ( Mark Derrick 2004)
  6. Re: [cart]= ( Gary Krockover 2004)
  7. Re: [cart]= ( Mark Derrick 2004)
  8. Re: [cart]= ( Donovan Brooke 2004)
  9. Re: [cart]= ( John Peacock 2004)
  10. Re: [cart]= ( Paul Uttermohlen 2004)
  11. [cart]= ( Mark Derrick 2004)
No prizes for guesswork I'm afraid ;-) It's a 5 year old custom built set of sites. Anyway, back to the plot... So it looks like you're actually agreeing with my original posting? My posting said (perhaps not very clearly)... "If the URL in the location bar is changed to contain "www.domain.com/index.tpl?cart="" By this I mean changed by the user, sometimes those pesky users just can't help themselves. (I never actually mentioned creating this "malformed" link) If the "user" edits the URL and removes the Cart value entirely, then I guess we are both agreeing that this will "will assign a form variable named "cart" which will prevent the automatic code from working."? Mark. On 22 Jun 2004, at 2:16 pm, John Peacock wrote: > There is something wrong with the OP (original poster's) site or code, > since cart=[cart] is the correct way to handle this. Reading between > the lines, I'm guessing that the OP is using one of the prebuilt sites > and just created a link "http://www.domain.com/index.tpl?cart=" > without knowing what he was doing. This code > > http://www.domain.com/index.tpl?cart=[cart] > > will automatically assign a cart the first time it is hit. I believe > leaving off the "[cart]" will assign a form variable named "cart" > which will prevent the automatic code from working. ------------------------------------------------------------- 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://webdna.smithmicro.com/ Mark Derrick

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:

Webstar 1.3.1 PPC (1997) Use of & in text areas follow-up (1998) bypassing typo's (1998) users.db (1999) Separate SSL Server (1997) Generating Report Totals (1997) send mail problem? (1997) cart (1997) Cart Question (1998) CAPTCHA system in webDNA (2005) Username for Admin Group (1997) Can't use old cart file (was One more try) (1997) RAM variables (1997) 2.0Beta Command Ref (can't find this instruction) (1997) PCS Frames-Default page is solution! (1997) BR (1997) Grep Problems (2005) version 2 for NT (1997) [writefile] (1997) WebCat2b13MacPlugIn - [include] (1997)