removeAttribute ()移除session中的某項屬性。 在spring例子中寵物商店的註銷登錄的代碼:. request.getSession().removeAttribute("userSession");.
確定! 回上一頁