After reading the How do servlets work? Instantiation, sessions, shared variables and multithreading thread, I was wondering if the sessions stored in the JVM are erased, in a application with no time limit for user session (<session-timeout>-1</session-timeout>
)? If so, is it by GC?
Thanks!