⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checklogined.asp

📁 这个也是一个功能强大的企业整站的ASP源代码
💻 ASP
字号:
<% 
'得到当前页面的地址
if session("LoginUser")="" then 
   response.Cookies("GetUrl")=GetUrl()
   response.Redirect("/Member/Login.asp")
   response.end
end if


Function GetUrl() 
  On Error Resume Next 
  Dim strTemp 
  If LCase(Request.ServerVariables("HTTPS")) = "off" Then 
    strTemp = "http://" 
  Else 
    strTemp = "https://" 
  End If 
  strTemp = strTemp & Request.ServerVariables("SERVER_NAME") 
  If Request.ServerVariables("SERVER_PORT") <> 80 Then strTemp = strTemp & ":" & Request.ServerVariables("SERVER_PORT") 
  strTemp = strTemp & Request.ServerVariables("URL") 
  If Trim(Request.QueryString) <> "" Then strTemp = strTemp & "?" & Trim(Request.QueryString) 
    GetUrl = strTemp 
End Function 
%> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -