Please help - random string

Results 1 to 2 of 2

Thread: Please help - random string

  1. #1
    Join Date
    Dec 1969

    Default Please help - random string

    How can I generate a random, unique string in asp. I want to use it for default password for my users.

  2. #2
    Join Date
    Dec 1969

    Default RE: Please help - random string

    A couple of questions you may want to ask yourself:<BR><BR>- Why should a password be unique? Only a username should be unique, I would say.<BR>But I gess it depends on your application.<BR><BR>- How should the password be unique? Do you store all passwords in a database, then I would let the database come up with a new one.<BR><BR>If you want to generate a random string in asp, i would use the RND function to generate random integers , and then convert these integers to characters with the CHR function.

Posting Permissions

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