Another way is to have a class registered within your webApp that implements HttpSessionAttributeListener.
In the attributeAdded method print the sessionID and then serialize the value (session Data)

public void attributeAdded(HttpSessionBindingEvent hsbe)
....
ObjectOutputStream.writeObject(hsbe.getValue())

Not sure how it would impact the performance in production though..

--Vijay