Seed being cached when using Rnd from asp

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Seed being cached when using Rnd from asp

    Soloution:

    1. Pass random number in querystring to results page.
    2. On results page pass this random number in the string to the Access query
    3. In the Access query Order By like this:

    ORDER BY Rnd((Table.ID-[@varRandomNumber]));
    Bill Morrison Guest

  2. Similar Questions and Discussions

    1. Cached query
      I have got this query <CFQUERY NAME="GetImportData" DATASOURCE="ExcelNordic" USERNAME="#Application.SQLUserName#"...
    2. Cached Page
      Hi, I've turned off alle Cache-settings in CF-Admin and deleted all cfclasses-files. BUT I still get old files and the files I've got are 1...
    3. #25007 [Asn->Csd]: rand & mt_rand seed RNG every call
      ID: 25007 Updated by: sniper@php.net Reported By: dcowgill at mail dot communityconnect dot com -Status: ...
    4. #25007 [Opn->Asn]: rand & mt_rand seed RNG every call
      ID: 25007 Updated by: iliaa@php.net Reported By: dcowgill at mail dot communityconnect dot com -Status: Open...
    5. Accessing the Seed databse
      "Ken Endeley" <kenendeley@lycos.com> wrote in news:3e19e8d0$0$1407$8e9e3842@news.atx.net: Try smarter, not harder.
  3. #2

    Default Re: Seed being cached when using Rnd from asp

    What?

    Ray at work

    "Bill Morrison" <bmorrison@whiteimage.com> wrote in message
    news:dadd3bb8.0402110731.17741d2a@posting.google.c om...
    > Soloution:
    >
    > 1. Pass random number in querystring to results page.
    > 2. On results page pass this random number in the string to the Access
    query
    > 3. In the Access query Order By like this:
    >
    > ORDER BY Rnd((Table.ID-[@varRandomNumber]));

    Ray at Guest

  4. #3

    Default Re: Seed being cached when using Rnd from asp

    Bill Morrison wrote:
    > Soloution:
    >
    > 1. Pass random number in querystring to results page.
    > 2. On results page pass this random number in the string to the
    > Access query
    > 3. In the Access query Order By like this:
    >
    > ORDER BY Rnd((Table.ID-[@varRandomNumber]));
    Uuuummm ... thanks .... I guess ...

    Bob Barrows

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows [MVP] Guest

  5. #4

    Default Re: Seed being cached when using Rnd from asp

    You are talking about the seed being cached by Jet, not by ASP. Nothing to
    do with ASP.

    Cheers
    Ken

    "Bill Morrison" <bmorrison@whiteimage.com> wrote in message
    news:dadd3bb8.0402110731.17741d2a@posting.google.c om...
    : Soloution:
    :
    : 1. Pass random number in querystring to results page.
    : 2. On results page pass this random number in the string to the Access
    query
    : 3. In the Access query Order By like this:
    :
    : ORDER BY Rnd((Table.ID-[@varRandomNumber]));


    Ken Schaefer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139