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 have created a session for user who logs in. after the user logs out, the session is invalidated. i have given a link for "Home page" on the logout page. When the use logs out and clicks the home link, the user is redirected to home page. but even after logging out, the "welcome user" and "logout link" still remains on the home page. I tried to clear the cache by using -
response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
but, no effect. the session is invalidated, I checked. what could be the reason? please help!!