You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Victor Hugo Germano <vi...@gmail.com> on 2006/03/30 15:35:27 UTC

Managing sessions - Object destruction

Hello,
We are having some throuble working with reference objects in session, i 
mean, every time i try to reload a context the session is not reloaded, 
and all its contents are kept in memory reaching the full memory 
capacity very fast.

I am sorry my english. I'll try to explain it better:

I have the object "fieldEstructure" in session, which has references to 
a sort of other objects. When the user closes the browser the reference 
for the session object is not finished, i mean, the hole session is not 
lost. How can i reset the session??


thanks for the atention
Victor




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


Re: Managing sessions - Object destruction

Posted by Victor Hugo Germano <vi...@gmail.com>.
The problems is, when do i have to kill the session?? Even when the 
browser is closed, the session continues at the memory...

I think the gc is not working as i expect...

ty anyway :)

MW Janssen escreveu:
> set the session timeout in web.xml or kill the session manually 
>
> -----Oorspronkelijk bericht-----
> Van: Victor Hugo Germano [mailto:victorhg@gmail.com] 
> Verzonden: donderdag 30 maart 2006 15:35
> Aan: users@tomcat.apache.org
> Onderwerp: Managing sessions - Object destruction
>
>
> Hello,
> We are having some throuble working with reference objects in session, i
> mean, every time i try to reload a context the session is not reloaded, and
> all its contents are kept in memory reaching the full memory capacity very
> fast.
>
> I am sorry my english. I'll try to explain it better:
>
> I have the object "fieldEstructure" in session, which has references to a
> sort of other objects. When the user closes the browser the reference for
> the session object is not finished, i mean, the hole session is not lost.
> How can i reset the session??
>
>
> thanks for the atention
> Victor
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29-3-2006
>  
>
>   

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


RE: Managing sessions - Object destruction

Posted by MW Janssen <ma...@bedrijven.nl>.
set the session timeout in web.xml or kill the session manually 

-----Oorspronkelijk bericht-----
Van: Victor Hugo Germano [mailto:victorhg@gmail.com] 
Verzonden: donderdag 30 maart 2006 15:35
Aan: users@tomcat.apache.org
Onderwerp: Managing sessions - Object destruction


Hello,
We are having some throuble working with reference objects in session, i
mean, every time i try to reload a context the session is not reloaded, and
all its contents are kept in memory reaching the full memory capacity very
fast.

I am sorry my english. I'll try to explain it better:

I have the object "fieldEstructure" in session, which has references to a
sort of other objects. When the user closes the browser the reference for
the session object is not finished, i mean, the hole session is not lost.
How can i reset the session??


thanks for the atention
Victor




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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29-3-2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29-3-2006
 


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