I've written a servlet that writes a form to a browser, and edits whatever response is returned by the browser user. If I access this servlet for a second time, objects that were created when I accessed the first time are still there - but only if I'm accessing from the same browser 'session'. It looks as if the servlet is maintaining some kind of session integrity - don't ask me how, but I like it. My question is this: when will all the objects created during a session be reclaimed? How can the servlet know that a session is terminated?