Re: Duplicate Carts

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34466
interpreted = N
texte = Sorry about that last message. Like I was trying to say:This bit of code actually does an IP number check and a cookie check. It only fails when a user's IP number changes _and_ he does not accept cookies. [orderfile cart=[cart]] [showif [cartipaddress]=] [setheader cart=[cart]]cartipaddress=[ipaddress][/setheader] [/showif] [showif [getcookie myip]=] [setcookie name=myip&value=[ipaddress]&path=/&domain={your domain}] [/showif] [showif [cartipaddress]![ipaddress]] [showif [getcookie myip]![cartipaddress]] [redirect entry.tmpl$newcart] [/showif] [/showif] [/orderfile]Simply include in all your pages and off you go.Good luck,D.-- You have moved your mouse. For these changes to take place, you must reboot Windows.On dinsdag, 11 juli 2000, Jesse Proudman wrote: >> >Cookie. >> >> Not a solution for all users. We all know that users can turn them >> off. That's not the case with ip addresss, thus the reason my >> solution will use the ip address instead of cookies. > >AOL has its users who use the browser go through their proxy servers and >I've seen AOL users hit my site from about 4-5 different proxy servers even >though it was the same user. Basically their IP address >changes. > > >------------------------------------------------------------- >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/ >------------------------------------------------------------- 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:

    
  1. Re: Duplicate Carts ( Bob Minor 2006)
  2. Re: Duplicate Carts ( Clint Davis 2006)
  3. Re: Duplicate Carts ( Donovan Brooke 2006)
  4. Re: Duplicate Carts ( Clint Davis 2006)
  5. Re: Duplicate Carts ( Stuart Tremain 2006)
  6. Re: Duplicate Carts ( Donovan Brooke 2006)
  7. Re: Duplicate Carts ( Stuart Tremain 2006)
  8. Duplicate Carts ( Clint Davis 2006)
  9. Re: Duplicate Carts (Christopher Mackay 2000)
  10. Re: Duplicate Carts (Kenneth Grome 2000)
  11. Re: Duplicate Carts (Derrick Puckett 2000)
  12. Re: Duplicate Carts (Derrick Puckett 2000)
  13. Re: Duplicate Carts (Kenneth Grome 2000)
  14. Re: Duplicate Carts (Kenneth Grome 2000)
  15. Re: Duplicate Carts (Jesse Proudman (Lists Account) 2000)
  16. Re: Duplicate Carts (John Butler 2000)
  17. Re: Duplicate Carts (WebDNA Support 2000)
  18. Re: Duplicate Carts (Bob Minor 2000)
  19. Re: Duplicate Carts (Victor Scheunemann 2000)
  20. Re: Duplicate Carts (Kenneth Grome 2000)
  21. Re: Duplicate Carts (Will Starck 2000)
  22. Re: Duplicate Carts (Kenneth Grome 2000)
  23. Re: Duplicate Carts (John Butler 2000)
  24. Re: Duplicate Carts (Kenneth Grome 2000)
  25. Re: Duplicate Carts (John Butler 2000)
  26. Duplicate Carts (Doug Hardman 2000)
Sorry about that last message. Like I was trying to say:This bit of code actually does an IP number check and a cookie check. It only fails when a user's IP number changes _and_ he does not accept cookies. [orderfile cart=[cart]] [showif [cartipaddress]=] [setheader cart=[cart]]cartipaddress=[ipaddress][/setheader] [/showif] [showif [getcookie myip]=] [setcookie name=myip&value=[ipaddress]&path=/&domain={your domain}] [/showif] [showif [cartipaddress]![ipaddress]] [showif [getcookie myip]![cartipaddress]] [redirect entry.tmpl$newcart] [/showif] [/showif] [/orderfile]Simply include in all your pages and off you go.Good luck,D.-- You have moved your mouse. For these changes to take place, you must reboot Windows.On dinsdag, 11 juli 2000, Jesse Proudman wrote: >> >Cookie. >> >> Not a solution for all users. We all know that users can turn them >> off. That's not the case with ip addresss, thus the reason my >> solution will use the ip address instead of cookies. > >AOL has its users who use the browser go through their proxy servers and >I've seen AOL users hit my site from about 4-5 different proxy servers even >though it was the same user. Basically their IP address >changes. > > >------------------------------------------------------------- >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/ >------------------------------------------------------------- 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/ Derrick Puckett

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:

shipcost (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Multiple catalog databases and showcart (1997) Cant get my own subtotal (2001) Country & Ship-to address & other fields ? (1997) Appending Information from one db to another (1998) The Best Shopping Cart Solution I Have Come Upon (2003) New Server? (2006) More on the email templates (1997) Checkboxes (1998) Database changes (1998) Re:Emailer Set Up (1997) WebCat2 - Getting to the browser's username/password data (1997) insert graphic in email (2000) Strange ShowIf behaviour (2001) how to construct a search for not this entire string? (2000) Shopping problems with 2.1b3 acgi (1997) Cumulative Shipping charge calculations - your help please. (1997) Grep and removing text (2002) RAM variables (1997)