Re: customer info
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38286
interpreted = N
texte = The former...Let me explain.We use two cookies, a SessionID, that expires when the shopper completestheir order, and a UserID that contains the aforementioned unique string. AsI said, we use [ipaddress]-[date]-[time] but I much prefer[cart]-[ipaddress]-[date]-[time] for the reasons John just mentioned.We have an include on every page that checks for both cookies; if theSessionID does not exist it is created like so[SetCookie name=SessionID&value=[cart]...]SessionID contains just the [cart] value.We set the UserID cookie in one of two ways: either when the user logs in toa registration page or when they have completed their first order. Thiscookie is used to apply discounts (we give them to returning customers) andto populate our forms with the shopper's data.HTH,Will StarckNovaDermskin care sciencesupport@novaderm.com800-378-1740----- Original Message -----From: Donovan Brooke
To: WebCatalog Talk Sent: Wednesday, August 29, 2001 3:46 PMSubject: Re: customer info>>> Will Starck wrote:>> > Yup. No biggy.> >> > I set a cookie to the cart #,>> not sure what you mean here. I think you are saying when a customervisits your> site a cart# is assigned and also a cookie is set that contains the valueof the cart#????> maybe, im not getting it. Or, are you actually not using [cart] andmaking your own> cart???>> > which I write to the orders.db as [ordername],> > and then I set a cookie OurUserID which equals [ipaddress][date][time].This> > is also written to orders.db.> >> > Then, whenever a customer returns, *poof!*, all of their info is enteredfor> > them. We even have an area that remembers all of their prior itemsordered,>> not throught the cookie right? through user/pass and database???>> >> > so when they go to reorder they just select from that list of items.>> Yes this is what we are looking at doing.>> >> >> > Neat stuff. Just be sure you provide them a highly visible link, wherethey> > can pick up their cookie, in the event they are using a differentcomputer> > than the one they originally placed their order on.>> Are you talking about a my account link that is accessed through aUSER/PASS?> If a user pass is entered why would one need to pick up a cookie? A userpass would> already identify specific customer info.>> Sorry if I am missing things.>> >> >> > If you need help getting started, let me know...> >> >>> -- Donovan D. Brooke> Systems Administrator/> Assc. Art Director> Epsen Hillmer Graphics>>> When 900 years old you reach, look as good you will not, hm?> -Yoda>>> -------------------------------------------------------------> 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:
The former...Let me explain.We use two cookies, a SessionID, that expires when the shopper completestheir order, and a UserID that contains the aforementioned unique string. AsI said, we use [ipaddress]-[date]-[time] but I much prefer[cart]-[ipaddress]-[date]-[time] for the reasons John just mentioned.We have an include on every page that checks for both cookies; if theSessionID does not exist it is created like so[SetCookie name=SessionID&value=[cart]...]SessionID contains just the [cart] value.We set the UserID cookie in one of two ways: either when the user logs in toa registration page or when they have completed their first order. Thiscookie is used to apply discounts (we give them to returning customers) andto populate our forms with the shopper's data.HTH,Will StarckNovaDermskin care sciencesupport@novaderm.com800-378-1740----- Original Message -----From: Donovan Brooke To: WebCatalog Talk Sent: Wednesday, August 29, 2001 3:46 PMSubject: Re: customer info>>> Will Starck wrote:>> > Yup. No biggy.> >> > I set a cookie to the cart #,>> not sure what you mean here. I think you are saying when a customervisits your> site a cart# is assigned and also a cookie is set that contains the valueof the cart#????> maybe, im not getting it. Or, are you actually not using [cart] andmaking your own> cart???>> > which I write to the orders.db as [ordername],> > and then I set a cookie OurUserID which equals [ipaddress][date][time].This> > is also written to orders.db.> >> > Then, whenever a customer returns, *poof!*, all of their info is enteredfor> > them. We even have an area that remembers all of their prior itemsordered,>> not throught the cookie right? through user/pass and database???>> >> > so when they go to reorder they just select from that list of items.>> Yes this is what we are looking at doing.>> >> >> > Neat stuff. Just be sure you provide them a highly visible link, wherethey> > can pick up their cookie, in the event they are using a differentcomputer> > than the one they originally placed their order on.>> Are you talking about a my account link that is accessed through aUSER/PASS?> If a user pass is entered why would one need to pick up a cookie? A userpass would> already identify specific customer info.>> Sorry if I am missing things.>> >> >> > If you need help getting started, let me know...> >> >>> -- Donovan D. Brooke> Systems Administrator/> Assc. Art Director> Epsen Hillmer Graphics>>> When 900 years old you reach, look as good you will not, hm?> -Yoda>>> -------------------------------------------------------------> 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/
Will 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:
Keep away (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
WebDNA dying or ... ? (2005)
[shownext] and sort (1998)
How to find duplicates - With code samples (2000)
Form Submition (2003)
searching multiple databases (1997)
Make sure I understand this??? (1997)
Running _every_ page through WebCat-error.html (1997)
date formatting question (2001)
Secure server question (1997)
emailer (1997)
WebCat2_Mac RETURNs in .db (1997)
Items XX to XX shown (1997)
details (2003)
Talk List Suggestions (1997)
Change 2.0 to 2.1: Carts files not written to disk automatically (1998)
Weird Math and SV (1997)
WebCat 3.04-3.07 plug-in dying on server.... (2000)
WebCat2b12plugin - [search] is broken ... not! (1997)