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 codehttp://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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
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 codehttp://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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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)