?? user_exit.asp
字號(hào):
<%
'===================================================================
'= ASP FILENAME : /user/user_exit.asp
'= CREATED TIME : Feb,08,2004
'= LAST MODIFIED: Feb,08,2004
'= VERSION INFO : CCASP Framework Ver 2.0.1 ALL RIGHTS RESERVED BY www.cclinux.com
'= DESCRIPTION : 用戶退出登陸
'= Change Log:
'===================================================================
%>
<!-- #include file = "../inc/customer/include_customer_action_execute.asp" -->
<!-- #include file = "./user_inc.asp" -->
<%
'========================================================
'== Action參數(shù)設(shè)置
'========================================================
'== 頁(yè)面名
Const CONST_PAGE_FILE = "user/user_exit.asp"
'== 頁(yè)面標(biāo)題/功能
Const CONST_PAGE_TITLE = "用戶退出登陸"
'== 功能函數(shù)名字空間
Const CONST_ACTION_FUNC = "UserExitCtl"
'== 相對(duì)根目錄路徑
GBL_strHomeURL = "../"
'== 頁(yè)面構(gòu)造
Call ActionBuild()
'== 請(qǐng)求校驗(yàn)與過濾
Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC)
'== 頁(yè)面析構(gòu)
Call ActionOver()
%>
<%
'===================================================================
'= Function : UserExitCtl()
'= Time : Created At 2006-5-4
'= Input :
'= Description : 用戶退出登陸
'===================================================================
Function UserExitCtl()
'== destory cookie
Session(GBL_strCookieURL & "SEN_strUserName") = ""
Session(GBL_strCookieURL & "SEN_strUserAccount") = ""
Session(GBL_strCookieURL & "SEN_UserId") = ""
Session(GBL_strCookieURL & "SEN_strUserAuthen") = ""
Session(GBL_strCookieURL & "SEN_strUserAccess") = ""
Session(GBL_strCookieURL & "SEN_strIsMaster") = ""
Session.Contents.RemoveAll() '==???
'== destory cookie
Response.Cookies(GBL_strCookieURL)("user") = ""
Response.Cookies(GBL_strCookieURL)("pass") = ""
Response.Cookies(GBL_strCookieURL).Expires = Date - 1
Set GBL_objPubDB = Nothing
Response.Redirect GBL_strHomeUrl & "index.asp"
End Function
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -