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 = 36308
interpreted = N
texte = Only unique per a given server, I believe.Will Starck wrote:> 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:

    
  1. Re: best way to get 2 unique strings on the same page load? (John Butler 2000)
  2. Re: best way to get 2 unique strings on the same page load? (Mike Davis 2000)
  3. Re: best way to get 2 unique strings on the same page load? (Paul Fowler 2000)
  4. Re: best way to get 2 unique strings on the same page load? (John Butler 2000)
  5. Re: best way to get 2 unique strings on the same page load? (John Butler 2000)
  6. Re: best way to get 2 unique strings on the same page load? (Glenn Busbin 2000)
  7. Re: best way to get 2 unique strings on the same page load? (Will Starck 2000)
  8. best way to get 2 unique strings on the same page load? (John Butler 2000)
Only unique per a given server, I believe.Will Starck wrote:> 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/ John Butler

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:

post (2000) [addlineitems] (1997) Databases (2000) New Plug-in and Type 11 errors (1997) Searchable WebCat (etc.) Docs ? (1997) Hiding HTML and breaking the page (1997) Credit card types (1997) Banners and sort of random display (1997) F*** you (1998) RE: ShowNext Command (1997) 2.0 Beta (1997) Me know logical no need (2002) 2nd WebCatalog2 Feature Request (1996) I need hosting (2003) WebCat2b13MacPlugIn - [include] (1997) Nested tags count question (1997) Bug? (1997) Feature req. (2002) View order not right (1997) showif and cart (1997)