asp会员登录出问题

来源:百度知道 编辑:UC知道 时间:2024/05/10 05:36:22
当从首页调用这个名为login.asp的页面的时候!总是出问题!请各位大侠帮帮忙!

<!--#include file="conn.asp"-->
<!--#include file="admin/inc/md5.asp"-->
<%
dim sql
dim rs
dim Uname
dim Upass
Uname=replace(trim(request.form("UserName")),"'","")
Uuser=trim(request.form("UserName"))
Upwd=trim(request.form("UserPwd"))
Upass=replace(trim(md5(Request.form("UserPwd"))),"'","")
if Uuser="" then
Session.abandon
%>
<SCRIPT LANGUAGE="JavaScript">
alert("鐢ㄦ埛鍚崭负绌?");
window.location.href="index.asp";
</SCRIPT>
<%
end if
if Upwd="" then
Session.abandon
%>
<SCRIPT LANGUAGE="JavaScript">
alert("瀵嗙爜涓虹┖!");
window.location.href="index.asp";
</SCRIPT>

当从首页调用这个名为login.asp的页面的时候!总是出问题!请各位大侠帮帮忙!

调用?具体是?问题?具体是?

你这个简单,具体错误提示时什么,贴出来