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:
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)