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 just have to remember to pass between pagesAlso you could assign a letter to a server and know which server the variable 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:

    
  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)
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 just have to remember to pass between pagesAlso you could assign a letter to a server and know which server the variable 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:

WebDNA 5 - Privacy Issue (Built in sniffer) (2003) PCS Frames (1997) [WebDNA] Lookup vs. Search (was: 3-5 GB of native WebDNA db...) (2009) SHOWIF/HIDEIF empty fields (2005) Bad creator codes which cause access denied error message (1997) WebCat2b15MacPlugin - showing [math] (1997) Rotating Banners ... (was LinkExchange) (1997) [CreateDate] tag? (1998) Protecting Files (2005) Not really WebCat (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) For those of you not on the WebCatalog Beta... (1997) Card clearance, problems - solutions? (1997) Having trouble installing on Windows XP Pro... (2006) Location of Browser Info.txt file (1997) OS X and Emailer (2002) formatting dates from a field ... (1997) price on detail, but not shoppingcart (1997) Safe command=append (1999) Interface to Quickbooks (2005)