This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Measure http session objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Measure http session objects" Watch "Measure http session objects" New topic
Author

Measure http session objects

Halim YAHIA
Greenhorn

Joined: Feb 24, 2005
Posts: 1
Hi,

i am looking for some code (if any exists) to do metrics on what is really hold in the http session :

how can i get info on :
1. nb of user sessions actually in memory
2. for a given session, what is the size of all objects in the session

This can help in sizing server memory.

Perhaps there is some servletinfo utility somewhere that i can reuse.

Thanks
HYA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Measure http session objects