Re: [cart]=

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58527
interpreted = N
texte = Paul Uttermohlen wrote: > > Thoughts: I think calling this a thought is being generous... ;) > > [showif [cart]=][text show=f]cart=[date %Y][date %m][date %d][time %H][time > %M][time %S][/text][/showif] Why are you intent on recreating the existing functionality, especially in a way that won't scale well (or even work with existing sites). A lot of work went in to creating the [cart] tag to work for any site, no matter how busy, to create a unique (to the server) cart ID. 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. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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)
Paul Uttermohlen wrote: > > Thoughts: I think calling this a thought is being generous... ;) > > [showif [cart]=][text show=f]cart=[date %Y][date %m][date %d][time %H][time > %M][time %S][/text][/showif] Why are you intent on recreating the existing functionality, especially in a way that won't scale well (or even work with existing sites). A lot of work went in to creating the [cart] tag to work for any site, no matter how busy, to create a unique (to the server) cart ID. 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. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

WebCat2b12 CGI Mac - [shownext] problem (1997) So Simple (2005) Return records from another (1997) Major Security Hole (1998) TCPConnect / Current Temperature (2004) Greeting Card System (2000) URGENT! ACGI Stopped!!!! (1997) Customer - again (1998) Major Security Hole (1998) redirect with frames (1997) One more time (1997) [WriteFile] problems (1997) What am I missing (1997) Ok here is a question? (1997) cookies and [returnraw] (1997) AutoCommit Preference? (1998) Database formats (2003) can WC render sites out? (1997) WebMerchant 1.6 and SHTML (1997) unable to launch acgi in WebCat (1997)