//清空所有Session request.getSession().invalidate(); 转载于:https://www.cnblogs.com/czlovezmt/p/8372382.html