Important alert: (current site time 7/15/2013 10:13:40 PM EDT)
 

winzip icon

ASP Random Password Generator 1.1

Email
Submitted on: 8/3/2001 2:07:09 AM
By: Karabunga 
Level: Advanced
User Rating: By 22 Users
Compatibility: ASP (Active Server Pages), HTML, VbScript (browser/client side)
Views: 59770
(About the author)
 
     Function that generates a random password of a specified or random lenght.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 5 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
8/3/2001 10:42:43 AMCarl Mercier

I need your comments on this! Thanks!
(If this comment was disrespectful, please report it.)

 
8/11/2001 8:57:44 AMDeryck

uh, I'm not sure what I can do with it other than give my new members a secure password until they change it.
(If this comment was disrespectful, please report it.)

 
8/31/2001 3:56:21 PMe002378@yahoo.com

This rules
(If this comment was disrespectful, please report it.)

 
9/9/2001 1:45:25 PMJonathan Richard-Brochu

(sorry, my comment got truncated)

I think you've made a significant mistake: your code, as it is, won't put any z, Z, and 9 in passwords.

Hint: Look at how you're using the Rnd function. The way you generate letters/numbers should reflect this:
Int((upperbound - lowerbound + 1) * Rnd + lowerbound). See what I'm talking about ?

But, anyways, it's a great piece of code.

(If this comment was disrespectful, please report it.)

 
5/15/2002 10:40:52 AMGonzalo

Should it be more user-friendly to be able to generate pronouncable passwords instead of this really hardly rememberable kind of strings?
(If this comment was disrespectful, please report it.)

 
6/23/2002 6:58:16 AMDavid Rodriguez

You earned my vote, 5 globes. Good Job.
(If this comment was disrespectful, please report it.)

 
7/10/2002 9:29:47 AMPia

Great snippet of code! The only thing missing to make it pure heaven would be if I could make the requirement of one uppercase, one lowercase and one number. It's not very likely that it wouldn't get that in but it is possible.
(If this comment was disrespectful, please report it.)

 
12/1/2002 9:29:24 AMVenkatM

hello can we run a service like thing in asp ,to have a reminder service daily
sorry If I am disturbing U by asking a question here.I really like U'R work thought U may be able 2 help me out.
Thanks in advance
(If this comment was disrespectful, please report it.)

 
3/2/2003 6:56:53 PM

Try using the Global.asa for this...
Or in the loging page...
(If this comment was disrespectful, please report it.)

 
5/13/2003 12:14:07 AMVladimir Miho

great!!!
(If this comment was disrespectful, please report it.)

 
12/15/2003 8:37:06 AM

any thing

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.