Exemplo n.º 1
0
        ///----------------------------------------------------------------------
        /// <summary>
        /// 로그아웃을 한다.
        /// </summary>
        /// Author         : [email protected], 2007-07-03
        ///
        /// Modify History : Just Created.
        ///
        ///----------------------------------------------------------------------
        public void LogOut()
        {
            //쿠키 제거
            UserGlobal.RemoveCookie(UserGlobal.BOQ_DEFAULT_COOKIE);

            //사용자 정보 초기화
            ClearUserInfo();
        }
Exemplo n.º 2
0
 //-------------------------------------------------------------
 /// <summary>
 /// Name          : Page_Load()
 /// Description   : 페이지 로드
 /// </summary>
 //-------------------------------------------------------------
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         //쿠키 삭제
         UserGlobal.RemoveCookie(UserGlobal.BOQ_DEFAULT_COOKIE);
     }
     catch (Exception pl_objEx)
     {
         UtilLog.WriteExceptionLog(pl_objEx.Message, pl_objEx.StackTrace, false);
     }
     finally
     {
         Response.Redirect(UserGlobal.BOQ_LOGIN_URL);
     }
 }