Re: two unique banners on one page
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13372
interpreted = N
texte = >I tried using two databases with random sorts and the problem I have is>that the could always generates the same pair of ads. Here is the code:Both databases have different ads in them? It's certainly possible to have similar pairs, but as the number of ads in the databases increases, the randomness increases. You're saying that a random sort between 2 completely different databases always returns the same pairings? Sounds like the random seed is being set in a non-random way.Try adding randseed=[random] to the search parameters of each search context. That may bump the random seed enough to get different pairings.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>I tried using two databases with random sorts and the problem I have is>that the could always generates the same pair of ads. Here is the code:Both databases have different ads in them? It's certainly possible to have similar pairs, but as the number of ads in the databases increases, the randomness increases. You're saying that a random sort between 2 completely different databases always returns the same pairings? Sounds like the random seed is being set in a non-random way.Try adding randseed=
[random] to the search parameters of each search context. That may bump the random seed enough to get different pairings.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
[search] within [listfiles]? (2003)
retail integration (2000)
Re[2]: Field Problem (2000)
[WebDNA] remove html comments (2009)
Misc Stuff That Might Help (1997)
Navigator 4.01 (1997)
RE: Upload (1998)
multiple search commands (1997)
Reversed words (1997)
5.0 Pricing (2003)
Error Lob.db records error message not name (1997)
Re:listfiles-looking for slick solution (1997)
More on [purchase] (1998)
[writefile] and CR's (2001)
WebDNA Promo Sound Bite (2003)
Almost a there but..bye bye NetCloak (1997)
Country & Ship-to address & other fields ? (1997)
How To question on setting up downloads (1997)
formula??? (2000)
[WebDNA] Encode cookies ONLY via "method=Base64" (2012)