tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominic Reynolds <>
Subject HttpSessionFacade
Date Thu, 15 Mar 2001 00:45:25 GMT
  I have a question regarding the use of HttpSessionFacade. It appears that many
 instances of this object can wrap the same *real* session. These objects are th
en recycled by tomcat (unbinding the facade from the real session). This recycli
ng happens prior to the session being invalidated which can cause troubles on se
rvlet objects which use the session. What are the rules that govern when a facade is recycled?
 Previous mailing-list threads recommend to use the context to store servlet app
lication data but I'm confused as to why the HttpSession object provides an inte
rface to set/get data if not for the application to store data that should be pe
rsisted accross requests but used within a single session.


View raw message