<%@ Language=VBScript %>
<!--#include virtual="/inc/FreeHost-AG-Function.asp"-->
<%
If Request.Form ("username")="" or RegExpTest("[^A-Za-z0-9]",Request.Form ("username")) Then
	ef=True
	ec="用户名没填或非法！"
elseIf Request.Form ("password")="" Then
	ef=True
	ec="密码没填！"
End If

if not ef then
If Request.Form ("timeout")="y" Then
session.Timeout =45
End if
end if

If not ef Then
'session("APIOPcookie")=""
session("username")=""
session.Timeout =25
APIret=POSTOP("/user/userlogin.asp",Request.form)
end If

if ef then
Response.Redirect "e.asp?e="&ec
end if%>