Re: New Cart No. on same page

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47343
interpreted = N
texte = On 1/31/03 4:35 PM, Rob Marquardt wrote:> [date format=%y%m%d%H%M%S]-[getchars > start=1&end=6][random][random][random][random][random][random][/getchars] > > *If* two numbers are generated in the same second and *if* the random number > strings happen to hit the same sequence, you've got a problem. Probably > don't want to use it in a case where you're generating billions of numbers > per second. We have used something nearly identical. However I am not sure how the date and time would turn out if you were generating many many numbers on the same page (IE: procesed at nearly the same time). At that point you fall back on the random number to be sufficient (which it probably should be even with WEBDNA and random seed weirdness).But it seems that if you are doing this within some kind of loop, as the original post suggests, then the [index] is the perfect answer (applied with math if you want greater changes in the sequence). HTH AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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:

    
  1. Re: New Cart No. on same page (Marko Bernyk 2003)
  2. Re: New Cart No. on same page (Dan Strong 2003)
  3. Re: New Cart No. on same page (Rob Marquardt 2003)
  4. Re: New Cart No. on same page (Alex McCombie 2003)
  5. Re: New Cart No. on same page (Alex McCombie 2003)
  6. Re: New Cart No. on same page (Rob Marquardt 2003)
  7. Re: New Cart No. on same page (Alex McCombie 2003)
  8. Re: New Cart No. on same page (Rob Marquardt 2003)
  9. Re: New Cart No. on same page (Matthew Bohne 2003)
  10. Re: New Cart No. on same page (John Peacock 2003)
  11. Re: New Cart No. on same page (Donovan 2003)
  12. Re: New Cart No. on same page (Matthew Bohne 2003)
  13. Re: New Cart No. on same page (Gyuri 2003)
  14. Re: New Cart No. on same page (Glenn Busbin 2003)
  15. Re: New Cart No. on same page (Matthew Bohne 2003)
  16. Re: New Cart No. on same page (Alex McCombie 2003)
  17. Re: New Cart No. on same page (Gary Krockover 2003)
  18. New Cart No. on same page (Matthew Bohne 2003)
On 1/31/03 4:35 PM, Rob Marquardt wrote:> [date format=%y%m%d%H%M%S]-[getchars > start=1&end=6][random][random][random][random][random][random][/getchars] > > *If* two numbers are generated in the same second and *if* the random number > strings happen to hit the same sequence, you've got a problem. Probably > don't want to use it in a case where you're generating billions of numbers > per second. We have used something nearly identical. However I am not sure how the date and time would turn out if you were generating many many numbers on the same page (IE: procesed at nearly the same time). At that point you fall back on the random number to be sufficient (which it probably should be even with WEBDNA and random seed weirdness).But it seems that if you are doing this within some kind of loop, as the original post suggests, then the [index] is the perfect answer (applied with math if you want greater changes in the sequence). HTH AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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/ Alex McCombie

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:

Searching on 3 different fields (2003) Merging databases (1997) RE: Tax and ShipCost Problem (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) default error on NT? (1997) [listfiles] (2004) Filling in fields conditionally (1998) Multiple prices (1997) More on the email templates (1997) Bug Report, maybe (1997) Assigning Serialized Customer Numbers (1997) creator code (1997) pricing continued (1998) [shell] (2003) Banners (1997) Problems with webcat 2.01 for NT (1997) Re1000001: Setting up shop (1997) Storefront Case Studies (1998) WebCat editing, SiteGuard & SiteEdit (1997) [OT] Industry standard for missing orders (2003)