tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <Filip.Ha...@evant.com>
Subject RE: Session size
Date Thu, 13 Feb 2003 20:54:32 GMT
I'm not sure you can serialize the session from the servlet, tomcat protects the actual implementation
with a facade. but it is worth a try, maybe it works :)

however, what you can do, is to use the StandardManager or the PersistentManager and have
tomcat serialize it to disk, then you can look at your file on disk and find out.

Filip

-----Original Message-----
From: Jake Robb [mailto:jakerobb@mac.com]
Sent: Thursday, February 13, 2003 12:51 PM
To: Tomcat Users List
Subject: Re: Session size


Serialize it?  That would give you an approximate answer.


----- Original Message ----- 
From: "Tim Funk" <funkman@joedog.org>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, February 13, 2003 3:49 PM
Subject: Re: Session size


> There is no way. Unless you iterate through all session attributes and 
> approximate each object's weight.
> 
> -Tim
> 
> Marcio Fuckner wrote:
> > Hi
> > 
> > How can i know the size of a current session ?
> > 
> > Thanks,
> > 
> > Marcio
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message