Using this template you can design a new HttpSessionListener class.

Any listener interested in observing the http session lifecycle
should implement the HttpSessionListener interface.