ASP做登陆模块的问题

来源:百度知道 编辑:UC知道 时间:2024/07/02 09:01:59
小弟初学ASP这两天从网上找了个注册登陆系统,不过在自己电脑上调试过程中出现了问题。数据库是ACCESS的,经过其他验证数据库没问题。希望大虾指点哈:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body><!--#include file="top.asp"-->
<table width="90%" border="1" align="center" cellpadding="10" cellspacing="0">
<tr>
<td>
用户登陆
<%
if session("name")="" then
%>
<form name="form1" method="post" action="loginok.asp?action=login" onSubmit="return chkform(this)">
<table border="1" cellspacing="0" cellpadding="5">
<tr>
<td width="116">用户名</td>
<td width="116

<!--#include file="conn.asp"-->
这个是调用数据库的哪个页面。
conn.asp页面里的
DBPath = Server.MapPath("data/data.mdb")
data/data.mdb这个是连接数据库地址,看看你连接对了没有?