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 the referring domain and assigns a new cart number if it meets the right criteria. Everything works fine, except for one case, which I discovered when 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) without including a cart argument it generates a new CART, but in scientific notation.So, if I type in: http://www.mydomain.com/Index5.html?SEC=Main I,d get to the page, but all of the links would have CART=2945827638734+e13 in the URL.I fixed this by writing the [CART] argument in my INCLUDE as [FORMAT 13s][CART][/FORMAT], but since WebCat generates cart numbers that are 15 digits 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 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Assigning new CART number (Grant Hulbert 1997)
  2. Re: Assigning new CART number (Kenneth Grome 1997)
  3. Re: Assigning new CART number (Michael Winston 1997)
  4. Re: Assigning new CART number (Kenneth Grome 1997)
  5. Assigning new CART number (Michael Winston 1997)
Earlier in the day, I posted about how I have an INCLUDE that checks the referring domain and assigns a new cart number if it meets the right criteria. Everything works fine, except for one case, which I discovered when 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) without including a cart argument it generates a new CART, but in scientific notation.So, if I type in: http://www.mydomain.com/Index5.html?SEC=Main I,d get to the page, but all of the links would have CART=2945827638734+e13 in the URL.I fixed this by writing the [cart] argument in my INCLUDE as [FORMAT 13s][cart][/FORMAT], but since WebCat generates cart numbers that are 15 digits 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 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark 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:

Beta Documentation (1997) RE: Shopping Cart Questions (1998) WCS Newbie question (1997) Error Messages Returned to User (1997) PROBLEM (1997) grep question - removing spaces (2005) Help name our technology! I found it (1997) Multiple database search (2000) show all problem (1997) ReadDateFormat bug in 3.x (1998) Cookies (1999) [OT] Search Engine Tips (2003) search form problem.. (1997) Some Questions (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Problem with my orders (1998) Busy WebCatalog (2000) cart (1997) A little syntax help (1997) breaking words (1997)