Re: best way to get 2 unique strings on the same page load?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36309
interpreted = N
texte = I see nothing wrong with using some sort of unique delimiter, as in:[cart]-[random][cart].random][cart]A[cart]a[random]all of these would produce a traceable random variable that you would justhave to remember to pass between pagesAlso you could assign a letter to a server and know which server thevariable has come from.that's my 2 cents on the thread.Paul Fowler> From: Will Starck
> Reply-To: (WebCatalog Talk)> Date: Sun, 20 Aug 2000 19:19:51> To: (WebCatalog Talk)> Subject: Re: best way to get 2 unique strings on the same page load?> > Along a similar vein:> > When PCS states that [cart]s are unique, do they mean unique only on a given> server, or across the internet as a whole? In other words, is it> theoretically possible for two (or more) different webcat installations to> generate the same cart number in any given instant?> > (Had a project in mind that requires them to be unique across the internet> as a whole...)> > > -- > Will Starck> NovaDerm Product and Technical Support> http://www.novaderm.com> techs@novaderm.com> > >> From: John Butler >> Reply-To: (WebCatalog Talk)>> Date: Sun, 20 Aug 2000 20:06:54>> To: (WebCatalog Talk)>> Subject: best way to get 2 unique strings on the same page load?>> >> I need 2 (URL friendly) guaranteed unique strings genterated on the same page>> load.>> >> I was about to use:>> >> [cart]>> [cart][random]>> >> When I thought I better ask to make sure->> >> Is there any chance a string generated by [cart][random] could ever be>> duplicated in>> the future by simply [cart]?>> >> Or vice versa->> >> Is there any chance a string generated by [cart] could ever be duplicated>> in>> the>> future by [cart][random]?>> >> What is the best way to get 2 unique strings outta webcat on the same page>> load?>> >> -John>> >> >> ------------------------------------------------------------->> 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://search.smithmicro.com/> > > -------------------------------------------------------------> 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://search.smithmicro.com/-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I see nothing wrong with using some sort of unique delimiter, as in:[cart]-[random][cart].random][cart]A[cart]a[random]all of these would produce a traceable random variable that you would justhave to remember to pass between pagesAlso you could assign a letter to a server and know which server thevariable has come from.that's my 2 cents on the thread.Paul Fowler> From: Will Starck > Reply-To: (WebCatalog Talk)> Date: Sun, 20 Aug 2000 19:19:51> To: (WebCatalog Talk)> Subject: Re: best way to get 2 unique strings on the same page load?> > Along a similar vein:> > When PCS states that [cart]s are unique, do they mean unique only on a given> server, or across the internet as a whole? In other words, is it> theoretically possible for two (or more) different webcat installations to> generate the same cart number in any given instant?> > (Had a project in mind that requires them to be unique across the internet> as a whole...)> > > -- > Will Starck> NovaDerm Product and Technical Support> http://www.novaderm.com> techs@novaderm.com> > >> From: John Butler >> Reply-To: (WebCatalog Talk)>> Date: Sun, 20 Aug 2000 20:06:54>> To: (WebCatalog Talk)>> Subject: best way to get 2 unique strings on the same page load?>> >> I need 2 (URL friendly) guaranteed unique strings genterated on the same page>> load.>> >> I was about to use:>> >> [cart]>> [cart][random]>> >> When I thought I better ask to make sure->> >> Is there any chance a string generated by [cart][random] could ever be>> duplicated in>> the future by simply [cart]?>> >> Or vice versa->> >> Is there any chance a string generated by [cart] could ever be duplicated>> in>> the>> future by [cart][random]?>> >> What is the best way to get 2 unique strings outta webcat on the same page>> load?>> >> -John>> >> >> ------------------------------------------------------------->> 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://search.smithmicro.com/> > > -------------------------------------------------------------> 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://search.smithmicro.com/-------------------------------------------------------------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://search.smithmicro.com/
Paul Fowler
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:
Re[2]: searches with dash, period etc. (back form politenes (2000)
Restart of DBserver (1997)
Getting Total Quantity (1997)
HELP WITH DATES (1997)
Trigger time setting (2002)
Fwd: Problems with Webcatalog Plug-in (1997)
Sorting Numbers (1997)
Friendly , quick 'security' check, please (2003)
price formula (1999)
WC Database Format (1997)
[CART] inside a [LOOP] (1997)
Re:Finding max value for a field (1997)
Re:WebCat 3.0 Serial Numbers (1999)
[bug] Technical Support Log Crashes Server (2004)
Unexceling (was I need a smart quote...) (1999)
Easter (1998)
expired beta (1997)
Problems with dbcatalog.exe (1997)
customizing the color of user's pages (1997)
All choices on IE different than Netscape (1997)