size « Session « JSP-Servlet Q&A

1. How to get the size of the Session !

I am working on some JSP/Servlets application. It has a Shooping cart kind of thing, which I am keeping in my session. Every item added in the cart has different information and thus I need to get the current size of the Session before every new adition. I don't want it to become too heavy. I want the user to check ...

3. Session data size

4. Session Size in Servlets