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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: two unique banners on one page (Kenneth Grome 1997)
  2. Re: two unique banners on one page (Grant Hulbert 1997)
  3. Re: two unique banners on one page (Kenneth Grome 1997)
  4. Re: two unique banners on one page (Grant Hulbert 1997)
  5. Re: two unique banners on one page (Olin 1997)
  6. Re: two unique banners on one page (Grant Hulbert 1997)
  7. Re: two unique banners on one page (Olin 1997)
  8. Re: two unique banners on one page (Daniel Cameron 1997)
  9. Re: two unique banners on one page (Daniel Cameron 1997)
  10. two unique banners on one page (Olin 1997)
>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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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:

WebMerchant Setup: Which card processor to use? (2000) Return records from another (1997) Problems searching from a FORM (1997) Bugs? What Bugs? was:Spawning Holdup? (2000) WebCat: Paying affiliates commissions?? (2000) Running 2 two WebCatalog.acgi's (1996) Keep away (1997) Authentication on NT server (2000) Help! WebCat2 bug (1997) authenticating a second user (1997) WebCatalog for guestbook ? (1997) webcat NT with [dos] command (1997) Sherlock and WebCat (1998) [WebDNA]