This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i'm developing a reporting system with a logging mechanism , to get the username and password from the jsp then check them with what in the DB in a servlet , then store the username in the session to use it in some stuff , i made logout mechanism too by making a link to execute a servelt that do removing the username from the session then invalidating the session then using request dispatcher to forward to the login page again , but i think this logout mechanism is poor design ,
So anyone can advice me with more powerful logout mechanism ?