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 dateand time would turn out if you were generating many many numbers on the samepage (IE: procesed at nearly the same time). At that point you fall back onthe random number to be sufficient (which it probably should be even withWEBDNA and random seed weirdness).But it seems that if you are doing this within some kind of loop, as theoriginal post suggests, then the [index] is the perfect answer (applied withmath if you want greater changes in the sequence).HTHAlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@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:
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 dateand time would turn out if you were generating many many numbers on the samepage (IE: procesed at nearly the same time). At that point you fall back onthe random number to be sufficient (which it probably should be even withWEBDNA and random seed weirdness).But it seems that if you are doing this within some kind of loop, as theoriginal post suggests, then the [index] is the perfect answer (applied withmath if you want greater changes in the sequence).HTHAlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@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:
When do we get to request new features? (1999)
Client-side Image Maps and WebCat? (1998)
Problems with [Applescript] (1997)
flushdatabases (1997)
textarea to page display (1998)
Frames and WebCat (1997)
RE: File Uploads: WebCat/SiteEdit (1998)
Emailer (WebCat2) (1997)
Multiple fields on 1 input (1997)
page redirect in webDNA (1997)
Generating Options for a Form. (1997)
MySQL TIME_FORMAT (2005)
triggers (2003)
Showing unopened cart (1997)
[WebDNA] PayPal Express Checkout (2009)
WebMerchant 1.6 and SHTML (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Building Calendars (1997)
Mac v. NT (1998)
convert characters (2003)