Hi all,
Can somebody please tell me how can I invalidate a session in struts2 . I tried the following , if (session instanceof org.apache.struts2.dispatcher.SessionMap) { try { ((org.apache.struts2.dispatcher.SessionMap) session).invalidate(); } catch (IllegalStateException e) { logger.error(e); } } But still I can go to the pages in my web project and do the operations. Can somebody please suggest me a solution for this. Thank you very much. sanjeewa