You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Patrick Lacson <pl...@ibuyline.com> on 2000/06/07 18:57:03 UTC

ServletContext + HttpSession

Hello!

How can I kill or invoke the getServletContext().removeAttribute("foo") when
the session dies?  In ASP there was a way to configure your sessions through
a file called global.asa.  I want to invoke this removeAttribute() method
when the session or when the browser window closes.. How can I do that?