Checks whether there is an active HttpSession associated with the current request.
Method Detail
isActive
boolean isActive()
Checks whether there is an active HttpSession associated with the current request.
Returns:
Whether a valid session is associated with this request
get
javax.servlet.http.HttpSession get()
Returns the current HttpSession associated with this request. If a session is not associated with the current request, a
new session is first initialized.
Returns:
HttpSession The existing session, or a new session if one has not yet been created