Re: shortening the cart

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18291
interpreted = N
texte = >At 6:23 AM 6/17/98, Peter Ostry wrote: >>Cart numbers can be shorter than 7 digits so I guess the easiest way is to >>generate a long number and use the first 7 digits: >>[GetChars start=1&end=7][cart][cart][/GetChars] > At 10:21 Uhr 17.06.1998, Dave MacLeay wrote: >The problem with this approach is that you'll end up with many duplicate >cart numbers over the course of a day. A WebCat cart number is simply the >date (expressed as days since 00/00/0000) concantinated with the time >(seconds since midnight) and number of ticks. Oops, sorry. You are right - my quick 'n' dirty method does not work for just 7 digits ;-)Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: shortening the cart (Peter Ostry 1998)
  2. Re: shortening the cart (Dave MacLeay 1998)
  3. Re: shortening the cart (Peter Ostry 1998)
  4. Re: shortening the cart (Peter Ostry 1998)
  5. shortening the cart (Kevin Furuta 1998)
>At 6:23 AM 6/17/98, Peter Ostry wrote: >>Cart numbers can be shorter than 7 digits so I guess the easiest way is to >>generate a long number and use the first 7 digits: >>[GetChars start=1&end=7][cart][cart][/GetChars] > At 10:21 Uhr 17.06.1998, Dave MacLeay wrote: >The problem with this approach is that you'll end up with many duplicate >cart numbers over the course of a day. A WebCat cart number is simply the >date (expressed as days since 00/00/0000) concantinated with the time >(seconds since midnight) and number of ticks. Oops, sorry. You are right - my quick 'n' dirty method does not work for just 7 digits ;-)Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

problems with 2 tags (1997) Trouble with formula.db + more explanation (1997) Location of Webcat site in folder hierarchy (1997) Just Testing (1997) Multiple prices (1997) How to Sort Summ data ? (1997) FREE Web Server Monitor FREE (1997) Protect (1997) Format question WC Mac f3 (1997) [ShowNext] feature in 2.0 (1997) Formatting dates stored in db (2003) Accepting credit cards (1997) PCS Frames (1997) Printing a final order (1997) Am I going senile? (Price recalc based on quantity) (1997) RE: Template not found error messages (1997) method of payment (1997) Possible Bug in 2.0b15.acgi (1997) AAAH: stupid sendmail (2001) Database Updates (1997)