Dear All,
I need to clear the session when i am closing Internet Explorer, through servlet (i think doFilter),
Im using a struts application.
My problem is when i m logging into my application and closing the application directly by close window-close button regardless without using LOGOUT option, the session is still maintained

And then after that i can able to logging into application without using the username and password... and even process into the application is possible

So when im closing the Internet Explorer and open my application in new window, i should clear the previous session by servlet.
How can i do this by using doFilter or anyother logic in servlet

Can anybody help. I need this urgent please.

Thanks in advance,
Sivanandam