Assigning new CART number
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15440
interpreted = N
texte = Earlier in the day, I posted about how I have an INCLUDE that checks thereferring domain and assigns a new cart number if it meets the rightcriteria. Everything works fine, except for one case, which I discoveredwhen hopping around on the second site that I'm building.When I type in the URL of a page on my site (while in my domain) withoutincluding a cart argument it generates a new CART, but in scientificnotation.So, if I type in: http://www.mydomain.com/Index5.html?SEC=MainI,d get to the page, but all of the links would have CART=2945827638734+e13in the URL.I fixed this by writing the [CART] argument in my INCLUDE as [FORMAT13s][CART][/FORMAT], but since WebCat generates cart numbers that are 15digits long, I'm worried about preserving uniqueness.How can I keep the 15 digit length of the cart?MichaelMichael Winston *By Phone!: (503)/652/8815 x341Internet Coordinator *By e-mail!: michaelw@dhorse.comDark Horse Comics, Inc. *By web!: http://www.dhorse.com/
Associated Messages, from the most recent to the oldest:
Earlier in the day, I posted about how I have an INCLUDE that checks thereferring domain and assigns a new cart number if it meets the rightcriteria. Everything works fine, except for one case, which I discoveredwhen hopping around on the second site that I'm building.When I type in the URL of a page on my site (while in my domain) withoutincluding a cart argument it generates a new CART, but in scientificnotation.So, if I type in: http://www.mydomain.com/Index5.html?SEC=MainI,d get to the page, but all of the links would have CART=2945827638734+e13in the URL.I fixed this by writing the
[cart] argument in my INCLUDE as [FORMAT13s]
[cart][/FORMAT], but since WebCat generates cart numbers that are 15digits long, I'm worried about preserving uniqueness.How can I keep the 15 digit length of the cart?MichaelMichael Winston *By Phone!: (503)/652/8815 x341Internet Coordinator *By e-mail!: michaelw@dhorse.comDark Horse Comics, Inc. *By web!: http://www.dhorse.com/
Michael Winston
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:
Unusual characters in the db ... (2002)
Cookies (1999)
Pre-flight public flag (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Error Lob.db records error message not name (1997)
[convertchars] (2000)
Why don't Typhoon & Firesite work together? (and webcat) (1998)
Suffix Mapping (1997)
Help with Repost Data msg from form (1997)
customizing the color of user's pages (1997)
minimalist shopping cart. (1997)
denying access to a banned username (2002)
Location of Browser Info.txt file (1997)
Limiting user access to .tmpl files (1997)
replacing founditems ... (2002)
version 2 for NT (1997)
many-to-one problem (1998)
Country & Ship-to address & other fields ? (1997)
Webmerchant (1999)
So what ya working on? (or have you completed?) (2004)