'로그인 시
Response.Cookies("member").Domain = "도메인"
Response.Cookies("member").Path = "/"
Response.Cookies("member")("id") = trim(id)
Response.Cookies("member")("name") = trim(name)
Response.Cookies("member").Expires = date + 1
'로그아웃 시
Response.Cookies("member").Domain = "도메인"
Response.Cookies("member").Path = "/"
Response.Cookies("member")("id") = ""
Response.Cookies("member").Expires = date - 1
'ASP' 카테고리의 다른 글
쿠키(Cookies) 중복 체크 및 처리 (0) | 2015.11.07 |
---|---|
ASP 달력 Calendar (0) | 2015.09.23 |
년월의 마지막 날짜(일) 구하기 (0) | 2015.07.18 |
ASP 이미지 가로, 세로 크기 구하기 (0) | 2015.01.19 |
페이지 초기번호 (0) | 2015.01.04 |