p.450~482

세션의 개요

메소드 반환 유형 설명
getAttribute(String name) java.lang.Object
getAttributeNames() java.util.Enumeration
getCreationTime() long
getId() java.lang.String
getLastAccessedTime() long
getMaxInactiveInterval(int interval) int
isNew() boolean
removeAttribute(String name) void
setAttribute(String name, Object value) void
setMaxInactiveInterval(int interval) void
Invalidate()

세션 생성

세션 정보

단일 세션 정보 얻기

다중 세션 정보 얻기

세션 삭제

단일 세션 삭제하기

void removeAttribute(String name)

다중 세션 삭제하기

void invalidate()

세션 유효 시간 설정