You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Funk <fu...@joedog.org> on 2003/02/13 21:49:37 UTC
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
Re: Session size
Posted by Jake Robb <ja...@mac.com>.
Nevermind -- that brings about ridiculous complications (i.e. you'd have to
extend the HttpSession object and implement Serializable, and then you'd
have to alter Tomcat to use your extended class).
----- Original Message -----
From: "Jake Robb" <ja...@mac.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, February 13, 2003 3:50 PM
Subject: Re: Session size
> Serialize it? That would give you an approximate answer.
>
>
> ----- Original Message -----
> From: "Tim Funk" <fu...@joedog.org>
> To: "Tomcat Users List" <to...@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
Re: Session size
Posted by Jake Robb <ja...@mac.com>.
Serialize it? That would give you an approximate answer.
----- Original Message -----
From: "Tim Funk" <fu...@joedog.org>
To: "Tomcat Users List" <to...@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