当前位置: 首页 > 图文教程 > 网络编程 > 编程10000问 > 如何实现某一页面只让特定的用户浏览?
protect.asp
<html>
<head>
<title>千花飞舞之春风精彩</title>
</head>
<body bgcolor="#00FFFF">
<form action="Protect.asp" method="post">
' 精彩的要限制的页面.
<input type="text" name="text">
' 此处可注明该页面的其它内容.
姓名:
<input type="password" size="20" name="password">
口令:
<input type="submit" name="B1" value="查询"></p></form>
<%set conn=server.createobject("adodb.connection")
conn.open "asptest"
' asptest是存放客户信息的表单permission所在的数据库的名字.
sql1="select
评论 (0) All