Re: ShowNext and random sort

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20577
interpreted = N
texte = >But if you specify a specific random seed in your template, doesn't that >mean that you would get *the same* sort results every time?Yes, that's the point. When a visitor clicks the Next link, the search happens again, and needs to be in the same order as the first search for continuity. You are allowed to set the first RandSeed to [random] if you like, then let that value propogate through the following ShowNext links.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ShowNext and random sort (PCS Technical Support 1998)
  2. Re: ShowNext and random sort (Dave MacLeay 1998)
  3. Re: ShowNext and random sort (PCS Technical Support 1998)
  4. ShowNext and random sort (Trevor Crist 1998)
>But if you specify a specific random seed in your template, doesn't that >mean that you would get *the same* sort results every time?Yes, that's the point. When a visitor clicks the Next link, the search happens again, and needs to be in the same order as the first search for continuity. You are allowed to set the first RandSeed to [random] if you like, then let that value propogate through the following ShowNext links.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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 Q (2000) Sharing DBs across domains (2001) One cent added (1998) Page Counters? (1997) Re:quit command on NT (1997) What generates Problem With Your Order email? (2000) Location of Browser Info.txt file (1997) Large databases in WebCat (1997) Mac: [ListFiles] bug alert (1997) sort links (2002) Only charge card when product shipped ? (1997) off topic - dna snipets (1997) [append] problem (1997) [WriteFile] problems (1997) GuestBook example (1997) Email truncation in Eudora. (1998) Server crash (1997) $Replace with [founditems] (1997) WebCat2: Items xx to xx shown, etc. (1997) Need relative path explanation (1997)