The following program is a AH wow dynamic management general procedures, very simple do not have to explain it!
If username= "admin" and password= "admin" then
Please remember to change the username and password of two admin respectively!
Login.asp
<title> Manager Login </title>
<link rel= "stylesheet" href= "DOWNLOAD". CSS ">
<body>
<div align= "center" ><center>
<table border= "0" cellspacing= "1" width= "90%" >
<tr>
<td> <form method= "POST" action= "chklogin.asp" >
<table width= "45%" border= "1" cellspacing= "0" cellpadding= "1" align= "center"
bordercolordark= "#ecf5ff" bordercolorlight= "#6699cc" >
<tr>
<td><table width= "100%" border= "0" cellspacing= "1" cellpadding= "1" >
<tr>
<TD width= "33%" align= "right" height= "a" > Username:</td>
<TD width= "67%" ><input name= "username" maxlength= "" class= "Smallinput" size= "> </td>
</tr>
<tr>
<TD width= "33%" align= "right" height= "a" > Password:</td>
<TD width= "67%" ><input type= "password" name= "password" maxlength= "class="
Size= "> </td>"
</tr>
<tr>
<TD colspan= "2" height= "></td>"
</tr>
</table>
</td>
</tr>
<TR align= "center" >
<TD height= ">"
<input type= "Submit" name= "Submit" value= "OK" class= "ButtonFace" >
<input type= "reset" name= "Submit2" value= "rewrite" class= "ButtonFace" >
</td>
</tr>
</table>
</form>
<p align= "center" > </td>
</tr>
</table>
</center></div>
</body>
__________________________________________________________________
Chklogin.asp
<%
Dim sql
Dim rs
Dim Seekerrs
Dim founduser
Dim username
Dim CompanyID
Dim password
Dim errmsg
Dim Founderr
Founderr=false
Founduser=false
Username=request.form ("username")
Password=request. Form ("password")
If Username= "" Then
Response.Redirect "Index.asp"
End If
If password= "" Then
Response.Redirect "Index.asp"
End If
If username= "admin" and password= "admin" then
Response.Cookies ("Adminok") =true
Response.Redirect "Manage.asp"
Else
Response.Redirect "Index.asp"
End If
%>
Author: o Source: <asp Dynamic Online > http://asp.on.net.cn/
adjourned