Re: Duplicate Cart ID
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39627
interpreted = N
texte = Glenn Busbin wrote:> > Let's say Joe visits your site on July 4 and makes a purchase. He gets cart 101.> > On Aug.29, Ed visits and gets cart 101. When Ed adds an item to his cart, that cart already contains the stuff that Joe bought.If you use WebCat's magic [cart] tag, this cannot happen (unless you set the clock back on your server). The [cart] value is based on the number of seconds since the epoch, plus some additional bits. If you are creating your own cartvalues, you are on your own.> > As long as the cart remains on the server and the (highly unlikely) possibility that cart numbers can be duplicated, you'd have to check Ed's cart number well before he adds anything to the cart. See?> > >Can a different cart number be assigned to an existing cart in realtime?> > Sure.> NO. Not if you use [cart]! WebCat will always generate a unique value nomatter how many people hit the site at the same time.Johnp.s. this feature alone is worth the list price of WebCat, IMHO!-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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:
Glenn Busbin wrote:> > Let's say Joe visits your site on July 4 and makes a purchase. He gets cart 101.> > On Aug.29, Ed visits and gets cart 101. When Ed adds an item to his cart, that cart already contains the stuff that Joe bought.If you use WebCat's magic [cart] tag, this cannot happen (unless you set the clock back on your server). The [cart] value is based on the number of seconds since the epoch, plus some additional bits. If you are creating your own cartvalues, you are on your own.> > As long as the cart remains on the server and the (highly unlikely) possibility that cart numbers can be duplicated, you'd have to check Ed's cart number well before he adds anything to the cart. See?> > >Can a different cart number be assigned to an existing cart in realtime?> > Sure.> NO. Not if you use [cart]! WebCat will always generate a unique value nomatter how many people hit the site at the same time.Johnp.s. this feature alone is worth the list price of WebCat, IMHO!-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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/
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:
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Summing fields (1997)
using showpage and showcart commands (1996)
Mime Headers for Mail (1998)
[WriteFile] problems (1997)
[WriteFile] problems (1997)
find with exceptions (1997)
Blasted shownext (request for 4.0) (1998)
WebCommerce: Folder organization ? (1997)
Practice runs ? (1997)
requiredfields (2002)
My slower response (1997)
[OT] - See my site? (2004)
showif (1999)
carriage returns in data (1997)
Make sure I understand this??? (1997)
Document Contains no data, or showcart error. (1997)
Emailer errors (1997)
Web Site (2000)
search same field twice??? (1999)