Re: Q: old cart serial problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29663
interpreted = N
texte = >>>Hi, >>> >>>If a customer bookmarked the url, http://www.foo.bar/?cart=939857434114567, >>>the customer always uses the cart serial 939857434114567. >>>This results in the same order number. It's not good for our shop. >>>Is there any way to clear old cart serial automatically? >>>No other people have the problem? >> >> Try comparing it against the existing cart file and orderfile numbers, and if it matches then redirect to the home page without cart=[cart] in the redirect. > >Thanks, Ken. > >But I don't save the existing cart file on the server, >(order data are stored in other server behind firewall) >so there is no existing cart file.Then you have to store the cart num,ber in a database and compare against that db instead. >Maybe I could write the all cart serial to a WebDNS db file, >but the cart serial database is growing everyday. How >many days must I keep the data?As long as it takes to insure that a visitor doesn't come back with an old cart number ... >I guess the cart serial is based on time, so can I >judge the creation time only from the cart serial?Maybe, but you'd have to ask SM about this, and they have never been very clear or forthcoming about the formula they use to create their card numbers before, so unless they actually provide the information you need to determine which part of the cart number is the date and time representation, you'll just have to maintain a database of used cart values yourself ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Q: old cart serial problem (Kenneth Grome 2000)
  2. Re: Q: old cart serial problem (Kenji Suzuki 2000)
  3. Re: Q: old cart serial problem (Kenneth Grome 2000)
  4. Q: old cart serial problem (Kenji Suzuki 2000)
  5. Re: Q: old cart serial problem (Kenneth Grome 2000)
  6. Q: old cart serial problem (Kenji Suzuki 2000)
>>>Hi, >>> >>>If a customer bookmarked the url, http://www.foo.bar/?cart=939857434114567, >>>the customer always uses the cart serial 939857434114567. >>>This results in the same order number. It's not good for our shop. >>>Is there any way to clear old cart serial automatically? >>>No other people have the problem? >> >> Try comparing it against the existing cart file and orderfile numbers, and if it matches then redirect to the home page without cart=[cart] in the redirect. > >Thanks, Ken. > >But I don't save the existing cart file on the server, >(order data are stored in other server behind firewall) >so there is no existing cart file.Then you have to store the cart num,ber in a database and compare against that db instead. >Maybe I could write the all cart serial to a WebDNS db file, >but the cart serial database is growing everyday. How >many days must I keep the data?As long as it takes to insure that a visitor doesn't come back with an old cart number ... >I guess the cart serial is based on time, so can I >judge the creation time only from the cart serial?Maybe, but you'd have to ask SM about this, and they have never been very clear or forthcoming about the formula they use to create their card numbers before, so unless they actually provide the information you need to determine which part of the cart number is the date and time representation, you'll just have to maintain a database of used cart values yourself ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Kenneth Grome

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:

hideif/showif causes error if wrapped around searches (2003) WebCat2 - Getting to the browser's username/password data (1997) totals (1997) [WebDNA] 64-bit CentOS 6.3 (2013) Text vs. Math (2000) First postarg not taking in $Commands (1997) WebCatalog 4.0.2b5 available (2000) Upgrade to 3.07 problems (2000) [searchString] (1997) [listfiles] nested in a [loop] (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Database Options (1997) Credit Card Number checking (1997) [WebDNA] Crashing again (2008) Re:trouble (1997) Date problems-more (1997) Stupid question (2003) WebStar Secure on other machine (1997) password authentication schemes (2003) RE: protect tag not working (1998)