session.removeAttribute("curr_id");
session.setAttribute("curr_id",u.getId())上边二条和下边这条有什么区别,有什么好处没。
session.setAttribute("curr_id",u.getId());