Hi all. Sorry if this has been asked before but the List Serv search is down. I have a servlet that tracks user sessions using cookies or URL rewriting as available. Everything is fine until I destroy and reinit the servlet by updating the servlet classes (I'm using Apache JServ b5 with autoreload on class modification switched on). When this happens the servlet correctly identifies that the session has gone and redirects the user to a page asking them to logon again. However if a client using cookies attempts to do so, the session object is generated and is definately not killed (the session holds a connection to a server which stays alive) but any attempt to retrieve the session on subsequent requests returns null. If the browser is set to refuse cookies and URL rewriting is therefore employed, everything works fine. If the client browser is restarted everything is fine. This led me to believe that the session was not being invalidated properly but the HttpSessionBindingEvent is being caught by the listener. Any ideas desperately welcome! TIA Lee Lee Coomber [ >LATERAL *~; ] - [ [EMAIL PROTECTED] ] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
