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:
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)