Does calling session.invalidate() cause the session object to expire?
I am developing an application which i don't want to expire. So i set setMaxInactiveInterval(-1) and this seems to work. When the user quits, i call a session.invalidate() function. However the servlet container seems to keep that object forever even after i restart the computer (!). I am using ServletExec 4.1.1 and in the sessions page i always see some session objects for the application i have set the -1 value to..