سؤال

I would like to track all HTTP sessions and all their attributes in a Java EE application.

Are there any freely available tools that I can use to monitor HTTP sessions? Can't I do it with JProfiler? If this can be done what are some tutorials that explain this?

هل كانت مفيدة؟

المحلول

In JProfiler, go to the heap walker and take a heap snapshot. Then change to the "Inspections" view of the heap walker and execute the inspection named "HTTP session objects". In the references view you will be able to see all session objects and you can inspect the attributes by opening the outgoing reference.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top