好像不行呀,我用的是乔客的内核,login页面代码是:
<!-- #include file="include/config_gear.asp" -->
<!-- #include file="conn.asp" -->
<!-- #include file="include/common.asp"-->
<title>会员登陆</title>
</head>
<body>
<table>
<TR>
<td><%
login_username=trim(request.cookies("joekoe_online")("login_username"))
login_password=trim(request.cookies("joekoe_online")("login_password"))
login_mode=objv7.format_power2(user_power,1,1)
call format_login222()%></td>
</TR>
</table>
</body>
</html>
调用的format_login222()方法内容如下:
<%
sub format_login222()
%>
<table border=0 width=185 cellpadding=0 cellspacing=0>
<tr><td ></td></tr>
<tr><td align=center>
<% if login_username<>"" then
%>
<table border=0 cellspacing=0 cellpadding=0>
<tr><td></td></tr>
<tr><td align=center>你好,<b><font class=blue><%response.write login_username%></font></b></td></tr>
<td align=center><%
Response.Write(" <script language='javascript'>window.opener.location'login.asp' window.cloce()</script>")
dim mess_dim
if login_message>0 then
mess_dim="red"
response.write "<bgsound src='images/mail/message.wav' border=0>"
else
login_message=0:mess_dim="gray"
end if
response.write "<a href='user_mail.asp'><img src='images/mail/new.gif' align=absmiddle border=0> 我的短信箱(<font class="&mess_dim&">"&login_message&" 新</font>)</a>"
%></td></tr>
<tr><td align=center><a href='login.asp?action=logout'>退出登陆</a> ┋ <a href='user_main.asp'><%response.write objv7.format_menu(web_menu,"user_main")%></a></td></tr>
</table>
<% else %>
<table border=0 cellspacing=0 cellpadding=0>
<form name=login_frm method=post action='login.asp?action=login_chk' onsubmit="return login_true()">
<input type=hidden name=re_log value='yes'>
<tr><td></td><td></td></tr>
<tr><td>用户名称:</td><td><input type=text name=username size=14 maxlength=20></td></tr>
<tr><td>登陆密码:</td><td><input type=password name=password size=14 maxlength=20></td></tr>
<tr><td colspan=2 align=center>
<table border=0 cellspacing=0 cellpadding=0><tr align=center valign=bottom>
<td></td>
<td><input type=submit value='登 录'></td><td width=60></td>
</tr></table>
</td></tr></form></table>
<% end if %>
</td></tr><tr><td height=5></td></tr></table>
<%
end sub%>
[此贴子已经被作者于2006-2-5 21:32:22编辑过]