HttpSession session;
session=request.getSession(false);
session.invalidate();
i m working on struts2 and hibernate framework.i have written this code in Logoutaction class but on pressing the back button in browser,its taking me to the old profile,which shouldn't happen after invalidating the session.So,should i use SessionMap or Map instead of HttpSession to invalidate the session?? i have searched for this but all i could find was the use of map and SessionMap.