Re: Cart/Cookie question
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62080
interpreted = N
texte = > Problem is this: The SECOND cookie stores a cart number that is > always exactly one less than the actual cart number. In other words, > if I look at the cookie, it may have this value: 1117832196956>> But the cart value in any URL is 1117832196957 --- numerically, one > more than the [cart] that was assigned to the cookie. In other words, > my cart is created AFTER the [cart] value is used to assign the > cookie, so they never match.If the numerical value is always a difference of one, how about mathematically adding 1 onto the cart number in the cookie? It doesn't solve the underlying problem, but it might do as a workaround.Dennis-------------------------------------------------------------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:
> Problem is this: The SECOND cookie stores a cart number that is > always exactly one less than the actual cart number. In other words, > if I look at the cookie, it may have this value: 1117832196956>> But the cart value in any URL is 1117832196957 --- numerically, one > more than the [cart] that was assigned to the cookie. In other words, > my cart is created AFTER the [cart] value is used to assign the > cookie, so they never match.If the numerical value is always a difference of one, how about mathematically adding 1 onto the cart number in the cookie? It doesn't solve the underlying problem, but it might do as a workaround.Dennis-------------------------------------------------------------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/
"Dennis J. Bonsall, Jr."
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:
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
WebMerchant Mac 3.0 beta available (1998)
Buying sans cart (1997)
[WriteFile] problems (1997)
Follow-up to listfiles bug report ... (2003)
More on the email templates (1997)
Force a search at the default.tmpl page? (1997)
Trapping Emailer Errors (2002)
Cleaning up user input - fractions (2004)
The beginning (1997)
Re2: Calculating multiple shipping... (1997)
formula inside database to calculate weights (1997)
Search design (1997)
HideIf ip= OR ip= (1998)
Pulling Captions from JPGs (2003)
Duplicate Cart Numbers (1999)
Read and weep (2003)
could someone please try this - it's very quick and easy (2000)
PERL to Web DNA (2000)
Issue with plug-in Webcat, webstar 4.x, SSL and IE when using the backbuttom (2000)