登陆asp class编程的代码
来源:爱站网时间:2022-03-31编辑:网友分享
你清楚登陆asp class编程的代码是怎么实现的吗?为了能更好的帮助到小伙伴们解决问题,爱站技术频道小编特此整理了相关资料,有需要的小伙伴可以自行前来阅读。
复制代码 代码如下:
<% dim obj
set obj = New admin_login
call obj.Main()
set obj = nothing
class admin_login
Private Founderr, errmsg,Mesky
Private Sub Class_Initialize()
Founderr = False
Set Mesky = New Cls_Main
End Sub
Private Sub Class_Terminate()
Set Mesky = Nothing
End Sub
Public Sub Main()
Response.Write "" & vbCrLf
Response.Write "" & vbCrLf
Response.Write "" & vbCrLf
Response.Write "" & vbCrLf
Response.Write "
Response.Write "" & vbCrLf
Response.Write "" & vbCrLf
Response.Write "
" & vbCrLf
Response.Write "
" & vbCrLf
Response.Write "
Login MeskyDMS V3 Powered By:Www.Mesky.Cn | " & vbCrLf
" & vbCrLf |
" & vbCrLf Dim username Dim password Dim ip Dim BrowserType Select Case Request("action") Case "chklogin" Call chklogin If Founderr Then Response.Write (errmsg) Response.Write (" << = 返回管理员登录页") End If Case "logout" Call logout Case Else Call login End Select Response.Write " | " & vbCrLf
" & vbCrLf Set BrowserType = New Cls_Browser Response.Write ("客户端操作系统:" & BrowserType.platform & " 客户端浏览器: " & BrowserType.Browser & BrowserType.Version) & vbCrLf Set BrowserType = Nothing Response.Write " |
" & vbCrLf
Response.Write "" & vbCrLf
Response.Write "