Re: Cart/Cookie question
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62081
interpreted = N
texte = What is the value of the text/math variable that you set before the cookie? Is it the same cart number as the cookies or 1 greater?Just sounds like your cart isn't setting properly before the cookie, and I'm assuming that using [cart] in a cookie wont set it either - so it isn't getting set until after the setcookie code.What happens if you throw a plain "[cart]" at the top of the page for testing purposes?GJKAt 02:01 PM 5/28/2005, you wrote:>I set two cookies at the same time, right after login. The first is the >customer number, stored for later lookups, and it works perfectly. The >second is the cart number, like this:>>[setcookie name=CustCart&value=[cart], etc. etc.]>>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-------------------------------------------------------------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:
What is the value of the text/math variable that you set before the cookie? Is it the same cart number as the cookies or 1 greater?Just sounds like your cart isn't setting properly before the cookie, and I'm assuming that using [cart] in a cookie wont set it either - so it isn't getting set until after the setcookie code.What happens if you throw a plain "[cart]" at the top of the page for testing purposes?GJKAt 02:01 PM 5/28/2005, you wrote:>I set two cookies at the same time, right after login. The first is the >customer number, stored for later lookups, and it works perfectly. The >second is the cart number, like this:>>[setcookie name=CustCart&value=[cart], etc. etc.]>>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-------------------------------------------------------------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/
Gary Krockover
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:
Help on how to store calculated value (2002)
WebCatalog Hosting (1996)
seeminly simple... but beyond my grasp :) (2000)
WebCat Contest Please Clarify (1998)
WebCat2 several catalogs? (1997)
hhtps to http and back? (2000)
Protect (1997)
fresh eyes needed. Append won't work. (2000)
question: Eudora 3.1.1 (1997)
Dark Horse Comics success story (1997)
Browsername (1998)
New Web Site Developers Database (1996)
too many nested tags ... (1997)
Webcat no longer supported? (2006)
I have observed and I am gone. (1998)
SiteGuard Admin Feature ? (1997)
page redirect in webDNA (1997)
WebCat2: Items xx to xx shown, etc. (1997)
DB Updates don't take (1998)
Help!!!! (1997)