Hi
Well we have got an web application running on tomcat 5.5 which contains a few jsp's. You are able to browse from jsp to jsp after you have successfully logged on. During the login mechanism we store a class in the http session,which is a client to a statefull session bean on the J2EE side.
What happens to the class stored in the http session if the customer closes down the window. Does the browser automatically set it to null or is it my responsibility to do this ?
Any help very much appreciated
Cheers
Rolf
-
Memory Leak in JSP Question (1 messages)
- Posted by: R Z
- Posted on: January 11 2005 18:31 EST
Threaded Messages (1)
- Memory Leak in JSP Question by Kishore Senji on January 12 2005 01:05 EST
-
Memory Leak in JSP Question[ Go to top ]
- Posted by: Kishore Senji
- Posted on: January 12 2005 01:05 EST
- in response to R Z
HiWell we have got an web application running on tomcat 5.5 which contains a few jsp's. You are able to browse from jsp to jsp after you have successfully logged on. During the login mechanism we store a class in the http session,which is a client to a statefull session bean on the J2EE side. What happens to the class stored in the http session if the customer closes down the window. Does the browser automatically set it to null or is it my responsibility to do this ?Any help very much appreciatedCheers Rolf
If the user closes the browser, the browser wouldn't do anything. The session ultimately gets invalidated when the session times out on the server.
You might want to think about setting a less maximum inactive period.