Re: customers getting same cart

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60353
interpreted = N
texte = I've found the best way to prevent this is to keep track of orders in a database and then constantly check the customers current cart against all old carts. If a match is found, give the current customer a new cart. There is some extra code to prevent that from occurring on the check out pages, etc... but it works well. On Dec 7, 2004, at 1:14 PM, John Peacock wrote: >> [if ("[referrer]"~"http://www.yoursite.com")|(]"[referrer]"~"http:// >> yoursite.com")][else][formvariables][showif cart=[name]][redirect >> http://www.yoursite.com/welcomenewguy.tpl][/fromvariables][/else][/ >> if] > > [referrer] isn't reliable. Search engines don't use it, some clients > can suppress it (like Opera and Firefox, I think). You are much > better off checking against a table of used carts, or better yet, > store the cart in a session cookie. -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1 (206) 347-0528 :: jesse@blueboxdev.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: customers getting same cart ( Phil Herring 2004)
  2. Re: customers getting same cart ( Jesse Proudman 2004)
  3. Re: customers getting same cart ( John Peacock 2004)
  4. Re: customers getting same cart ( Bob Minor 2004)
  5. Re: customers getting same cart ( "Paul Berman" 2004)
  6. Re: customers getting same cart ( Bob Minor 2004)
  7. Re: customers getting same cart ( John Peacock 2004)
  8. Re: customers getting same cart ( Donovan Brooke 2004)
  9. customers getting same cart ( "Brian Boegershausen" 2004)
I've found the best way to prevent this is to keep track of orders in a database and then constantly check the customers current cart against all old carts. If a match is found, give the current customer a new cart. There is some extra code to prevent that from occurring on the check out pages, etc... but it works well. On Dec 7, 2004, at 1:14 PM, John Peacock wrote: >> [if ("[referrer]"~"http://www.yoursite.com")|(]"[referrer]"~"http:// >> yoursite.com")][else][formvariables][showif cart=[name]][redirect >> http://www.yoursite.com/welcomenewguy.tpl][/fromvariables][/else][/ >> if] > > [referrer] isn't reliable. Search engines don't use it, some clients > can suppress it (like Opera and Firefox, I think). You are much > better off checking against a table of used carts, or better yet, > store the cart in a session cookie. -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1 (206) 347-0528 :: jesse@blueboxdev.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/ Jesse Proudman

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:

Grep doesn't work the same? (2005) vs (1997) space at start of menu (2000) email database file (2005) unsubscribe (1997) Supressing Error Messages (1998) SET (1998) New Command prefs ... (1997) International Orders (1998) Error Log Question (2003) Pull Down Search (2000) mySQL --- problem?? (2004) country of origin from IPADDRESS??? (2001) [showif] problem (1999) WebCat 4.51 on Fedora Core 1 (2004) Generating unique SKU from [cart] (1997) problems with 2 tags shakur (1997) Need a web cat programmer (2000) Searching Multiple DBs (1997) New to WebCat, Help. (1998)