If the browser cache is cleared , the current session will be unused and new session will be created.but according to my situation when session is unused i want to call java method .
My aims is once the browser cache is cleared, the old session remains unused and new session created before that i want call a method.
Is there any way to do so or my way of thinking is wrong please correct me.
Its not same as How to call a method before the session object is destroyed? this question , because there after timeout that session is getting destroyed but to my situation the session is not destroyed by any app server .The session remain unused due to browser clear cache .