Important alert: (current site time 7/15/2013 11:14:43 PM EDT)
 

winzip icon

ASP Handy Login Page

Email
Submitted on: 6/25/2000 8:41:15 AM
By: Elio  
Level: Beginner
User Rating: By 10 Users
Compatibility: ASP (Active Server Pages), VbScript (browser/client side)
Views: 63071
 
     this code will ask for a username and a password then check them for validation then the user will redirected to the protected page. Note: there is no database connections
 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
' for :ASP Handy Login Page
'**************************************
Code Created by Elio!
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.

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 Beginner 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

6/26/2000 10:21:03 AMJuan Kis

Where can I define a users & passwords ?
Regards,
Juan
(If this comment was disrespectful, please report it.)

 
11/16/2000 3:53:50 PMMr. Sheen

I would also like to know! Can you please help?
(If this comment was disrespectful, please report it.)

 
3/25/2001 11:05:34 AMRax

I think it's a one user login only :/
(If this comment was disrespectful, please report it.)

 
12/4/2001 6:01:03 AMAshish

Code was good. But I want to know how could i restrict a user to a single login, Not on two different systems??

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

 
1/6/2002 9:39:10 PMAgus

Is the user and password taken from the system user name and password? i.e. Windows NT or 2000 Server users?
(If this comment was disrespectful, please report it.)

 
1/7/2002 8:28:12 AMme

did you copy this from www.brinkster.com - cos it looks familiar
(If this comment was disrespectful, please report it.)

 
1/11/2002 3:03:33 PMRahul Mahajan

How To Protect The Page Which Is Linked To The Protected Page.
(If this comment was disrespectful, please report it.)

 
4/1/2002 4:44:08 AMShane

Great, as a beginner this has served as a piece to my puzzle to protect my webpage. Thanks alot. Well done.
(If this comment was disrespectful, please report it.)

 
4/3/2002 4:17:58 AMWeng

simple and easy to understand.But if using database, user can change user name and password without refer to the coding.
(If this comment was disrespectful, please report it.)

 
6/5/2002 9:59:43 AMkaushik

can u help me to write an activex dll component for this login page

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

 
7/22/2002 10:45:42 AMRichard

We could do with an FAQ section on this site. My question is the same as the early one's posted... How do we define a username and password?
Thanks
(If this comment was disrespectful, please report it.)

 
9/26/2002 9:02:39 PM

Does anyone know how to work the MS Access Database ( found at www.brinkster.com) Not how to input stuff into the tables and columns and what not, juz how to MAKE the tables and columns and so on. If so could you please email me at swordfish@msn-x.com . I would greatly appreciate it if anyone knew how!
(If this comment was disrespectful, please report it.)

 
10/5/2002 11:10:40 PM

Where can I define a users & passwords
(If this comment was disrespectful, please report it.)

 
12/12/2002 4:03:16 PM

Code was good. But I want to know how
could i restrict a user to a single
login, Not on two different
systems?? cen you helpe

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

 
1/3/2003 4:56:33 PM

Question: what can I add to open the target page in a new browser window?
(If this comment was disrespectful, please report it.)

 
4/14/2003 7:37:39 AM

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

 
4/23/2003 12:41:02 PM

It looks good........but please explain how to use it.
(If this comment was disrespectful, please report it.)

 
4/23/2003 12:45:10 PM

The code is good, but how do you implement it? Please advise.
(If this comment was disrespectful, please report it.)

 
10/9/2005 4:58:37 AMjon

can u let me know what the username and passwords are for ur ASP login page code re: item @PSC_ReadMe_6244_4


thanks

jon

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

 
10/17/2005 6:37:49 PMi know everything

Open the source code. the password is on the bottom of the code
(If this comment was disrespectful, please report it.)

 
6/4/2006 9:09:47 AMCataLyst-KK

user id is : user
password is : pwd

As no database is attached user and pass is predefined. Its good idea to create text file and store user ids and passwords in it. This can be accomplished using FSO and streaming text.
(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.