I see nowhere in the JSDK API thats says invalidate should remove all objects
stored in the session. Which may be a problem if you decided to remove a value
after the session has been invalidated since the API goes on to say an
IllegalStateException is thrown if an attempt is made to access session data
after the session has been invalidated. Not exactly sure why...
Gabriel Wong
http://www.ezwebtools.com
----------------------------
Shashank Phadke wrote:
> Hi --
>
> I have allocated 64MB to the JVM in which JRun runs. I have a single
> servlet which internally calls a class (not a servlet) and stores a
> 60K user object in the session.
>
> At the logout time of the user I am invalidating the session,
> explicitly setting the user object to "null" - but I see that JRun
> simply doesnt cleanup the data. It goes on piling up the session data
> and finally runs out of memory.
>
> Anyone experiencing/experienced similiar problem ?? Solutions ?
>
> TIA,
> Shashank
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html