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:03106019560330318 16:37:09106020512534622 18:03:09106021040535085 19:06:30106021405435386 19:51:13106021623235862 20:37:27106021971136358 20:52:41106022065336500 21:00:54106019751131041 23:30:03106019560330318 The 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 Starck NovaDerm Skincare Science http://www.novaderm.com wjs@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:

    
  1. Re: Help SM: Duplicate cart #'s - still! ( John Peacock 2003)
  2. Re: Help SM: Duplicate cart #'s - still! ( Kenneth Grome 2003)
  3. Re: Help SM: Duplicate cart #'s - still! ( WJ Starck 2003)
  4. Re: Help SM: Duplicate cart #'s - still! ( Tim Robinson 2003)
  5. Re: Help SM: Duplicate cart #'s - still! ( WJ Starck 2003)
  6. Re: Help SM: Duplicate cart #'s - still! ( Tim Robinson 2003)
  7. Help SM: Duplicate cart #'s - still! ( WJ Starck 2003)
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:03106019560330318 16:37:09106020512534622 18:03:09106021040535085 19:06:30106021405435386 19:51:13106021623235862 20:37:27106021971136358 20:52:41106022065336500 21:00:54106019751131041 23:30:03106019560330318 The 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 Starck NovaDerm Skincare Science http://www.novaderm.com wjs@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)