Google Nemesis Review

grabthebasics.com
home faq wannahelp feedback contact

- asp password
- emailcheckaspemail
- login asp script filetypeasp sample
- create user with asp
- asp how to query string
- how to get username password integration in asp.net
- asp script next page
- clearing session variables asp
- getting username from asp script
- response.write%28"%3cscript%3e next page
- how to get complete querystring in asp.net
- asp database query success
- hairspray script
- log in log out script
- authenticating user asp net
- loginzip
- asp script password to check database
- hebrew querystring
- loginproc
- change password asp script

Free Login Script


ASP Scripts

Creating a Simple Login Process

access.mdb

This is the database where the username and passwords are kept. It should be stored in a directory, where it can't be accessed directly by a user, but only accessed by scripts which are stored on the server.

If you want to set up the database yourself:
I have called the database access.mdb If you change this name, then ensure that you also change the references to it in addinguserproc.asp and loginproc.asp

I have called the table users. If you change this name, then ensure that you also change the references to it in addinguserproc.asp and loginproc.asp

The table has 3 fields:
userID which is an autonumber
Username which is a text field
Password which is also a text field
EmailAddress which is also a text field

I have kept it simple for these purposes, but in a real life situation you may want to make it slightly more complicated.

addinguser.asp

This is simply a form for a new user to add their information. More fields can be added if required by just adding more lines. For example:

<%Response.Write("Address <input type = ""Text"" name =""Address"">")%>

addinguserproc.asp

This script checks that the user has entered a password and username and email address. It then adds these values to the database as a new user and logs in that user in a similar way to loginproc.asp . It then redirects that user to success.asp to tell them that they are logged in

authenticate.asp

This should be included at the top of each file that you want to password protect. The asp file should have

<%Response.Write("<%@ Language=VBScript %>" & vbcrlf)Response.Write("
" & vbcrlf)Response.Write("<%Option explicit %>")%>

at the top and this should be included immediately after these two lines by putting:

<% Response.Write("<!-- #INCLUDE FILE = "authenticate.asp" -->") %>

delete.asp

This script is activated from viewusers.asp in order to delete users from the database.emailcheck.asp

This is a simple script to check that the person adding their email address is entering a valid email address. It checks that there is only one @ sign and also there there is a dot there

failure.asp

This tells the user, that they are not logged in if it is true or their username if they are logged in.

login.asp

This is a simple form for a user to log in. It requires a Username and password, however other fields can be added as with addinguser.asp .

loginproc.asp

This checks that a Username and Password were entered. It then checks them against the database to make sure that the Username exists and that the password entered is valid.If they are, then it writes a session variable of their username and redirects them to the success page

logout.asp

This page simply sets the session variable equal to "" . It then redirects the user to failure.asp to tell them that they are not logged in.

success.asp

This could say anything, but to show that the script is working, I have written the session variable produced by loginproc.asp to show the user name.

viewusers.asp

This shows all valid users in a table. For security, don't put this in a place which can be easily found by visitors. Alternatively, password protect this page by changing authenticate.asp to only allow access if there is a particular username that has been logged in. You are also able to delete users from this page, but once deleted, they are deleted permanently.

Any more questions please email scripts@grabthebasics.com

Google Sued for $1B Over Outlook Migration Tool - Slashdot


Google Sued for $1B Over Outlook Migration Tool
Slashdot - Jun 25, 2008
If you login, you can remember this preference. by Anonymous Coward on Wednesday June 25, @10:20AM (#23934345) by Anonymous Coward on Wednesday June 25, ...


Bell, SuperMicro Sued Over GPL - Slashdot


Bell, SuperMicro Sued Over GPL
Slashdot - Jun 18, 2008
I was the one who alerted the busybox developers about the GPL violation after providing a script for disassembling the firmware and instructions about ...


Can Any Router Guarantee Bandwidth For VoIP? - Slashdot


Can Any Router Guarantee Bandwidth For VoIP?
Slashdot - Jun 27, 2008
On top of that, the script is actually _BENEFICIAL_ to my ISP. By shaping my outgoing traffic I waste virtually zero bandwidth on retransmits so I am a ...


What Happened To Palm? - Slashdot


What Happened To Palm?
Slashdot - Jun 28, 2008
In 40 minutes, he verified, apparently by following a support script, what I had clearly described to him in the first 30 seconds: This T|X was not ...


Working With 2 ISPs For Home Networking? - Slashdot


Working With 2 ISPs For Home Networking?
Slashdot - Jun 28, 2008
You could probably script the dynamic dns services to switch when failover occcurs, as well. by da5idnetlimit.com (410908) on Saturday June 28, ...


T-Mobile USA Sues Starbucks Over Free Wi-Fi Service - Cellular-News


T-Mobile USA Sues Starbucks Over Free Wi-Fi Service
Cellular-News, UK - Jun 8, 2008
Under the transition plans, it also appears that AT&T is reusing T-Mobile equipment, with the login script bouncing between the two company's services. ...


Multi-page PDF To Multi-page TIFF and Archiving? - Slashdot


Multi-page PDF To Multi-page TIFF and Archiving?
Slashdot - Jun 24, 2008
You can write a simple shell script to convert all files. by Thelasko (1196535) We use a program called ImageSite [equorum.com] that handles that. ...


What Do You Want On Future Browsers? - Slashdot


What Do You Want On Future Browsers?
Slashdot - Jun 30, 2008
It requires a server side script to dump the current file size on the server and some javascript to poll the server-side script. ...


13 FriendFeed Tools for Twitter Refugees - Washington Post


13 FriendFeed Tools for Twitter Refugees
Washington Post, United States - Jun 30, 2008
You can login through the site, and import your keywords from del.icio.us, or input them manually, and NoiseRiver will color code your feed according to ...


home FAQ How can I help feedback Contact