Help SM: Duplicate cart #'s - still!
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52178
interpreted = N
texte = I'm still seeing duplicate carts numbers.Here's the latest scenario:Our system passes the cart from page to page via a session cookie. Items are added and subtracted to the cart in standard fashion, however, we do not use the purchase command, but instead write all of the information contained in the cart to an orders.db, with the cart # being written as a unique identifier that separates orders.On 8/6, I had a customer place an order at 4:04 pm with cart #106019560330318. At 11:30 pm, I had another customer place an order with the identical cart number. This of course overwrote the first order.I wrote the following and placed it in a template:
Duplicate cart tester [append db=../dbs/dupcart.db]ordername=[cart][/append][search db=../dbs/dupcart.db&neordernamedata=[blank]][numfound] records[/search][search db=../dbs/dupcart.db&neordernamedata=[blank]&ordernamesumm=T][numfound] carts[/search]After roughly 5600 iterations, no duplicate cart numbers appeared. However, here is a list of the cart numbers between 4:04 pm and 11:30 pm on that day:16:04:0310601956033031816:37:0910602051253462218:03:0910602104053508519:06:3010602140543538619:51:1310602162323586220:37:2710602197113635820:52:4110602206533650021:00:5410601975113104123:30:03106019560330318The following code is at the top of every page to prevent the bookmarked cart problem.This is about the seventh or eight time since upgrading to 5.0 that this has happened, and I'm out of ideas. This never happened in over two years with the same code on previous versions of WebCat.Anyone?Regards,--Will StarckNovaDerm Skincare Sciencehttp://www.novaderm.comwjs@novaderm.com-------------------------------------------------------------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:
I'm still seeing duplicate carts numbers.Here's the latest scenario:Our system passes the cart from page to page via a session cookie. Items are added and subtracted to the cart in standard fashion, however, we do not use the purchase command, but instead write all of the information contained in the cart to an orders.db, with the cart # being written as a unique identifier that separates orders.On 8/6, I had a customer place an order at 4:04 pm with cart #106019560330318. At 11:30 pm, I had another customer place an order with the identical cart number. This of course overwrote the first order.I wrote the following and placed it in a template: Duplicate cart tester [append db=../dbs/dupcart.db]ordername=[cart][/append][search db=../dbs/dupcart.db&neordernamedata=[blank]][numfound] records[/search][search db=../dbs/dupcart.db&neordernamedata=[blank]&ordernamesumm=T][numfound] carts[/search]After roughly 5600 iterations, no duplicate cart numbers appeared. However, here is a list of the cart numbers between 4:04 pm and 11:30 pm on that day:16:04:0310601956033031816:37:0910602051253462218:03:0910602104053508519:06:3010602140543538619:51:1310602162323586220:37:2710602197113635820:52:4110602206533650021:00:5410601975113104123:30:03106019560330318The following code is at the top of every page to prevent the bookmarked cart problem.This is about the seventh or eight time since upgrading to 5.0 that this has happened, and I'm out of ideas. This never happened in over two years with the same code on previous versions of WebCat.Anyone?Regards,--Will StarckNovaDerm Skincare Sciencehttp://www.novaderm.comwjs@novaderm.com-------------------------------------------------------------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/
WJ Starck
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:
remove line item (2000)
New index for docs (1997)
Batch upload (2005)
converting tabs (1997)
America Online Issues (1998)
Kill the webcat process (2000)
Chomp? (2004)
RAW=T..Strange behaviour (2000)
Credit card processing - UK (1997)
StoreBuilder and PayPal (2002)
Where is f2? (1997)
[WebDNA] WebDNA jQuery JSON javascript stuff (2010)
Includeform Error (2002)
credit card (1997)
WCS Newbie question (1997)
Separate SSL Server (1997)
authorize net (2001)
Firewalls - What's Good? (1999)
remove.htm from result (2005)
Dreamweaver extensions [reprise] (2000)