Removed session but Browser can still display the page

2003-11-16 Thread kelleyxiao
Hi, I have a problem with using HttpSession class. When the user login, I create a new session by request.getSession(true). When the user logout, the session is removed by session.invalidate(). In doing this, when the user is trying to go back to the previous page without login, the browser

Re: Removed session but Browser can still display the page

2003-11-16 Thread Peter Maas
When a client pushes the browsers 'back' button, this page is often read from cache... adding the following line to the HTML head might help: META HTTP-EQUIV=Pragma CONTENT=no-cache gr, Peter [EMAIL PROTECTED] wrote: Hi, I have a problem with using HttpSession class. When the user login,

Re: Removed session but Browser can still display the page

2003-11-16 Thread Christopher Schultz
Kelly, The browser can display the previous page when I use Back button in the toolbar This is often the case due to browsers caching the pages on the client side. You will not be able to prevent this. or when I type in the URL for the pages that should be displayed only after the user login.