How about using other AttributeListerners? On the same question in HFS, there is a ServletContextAttributeListerner is a choice. SO why should I use HttpSessionAttributeListener alone to log. I would do it at Context level because sessions can be multiple for the same user. So if admin user wants to publish currently logged users list How do I do that? Please help me on this.