Firefox? Add "no-store": response.setHeader("Cache-Control", "no-cache, no-store");
On the other hand, SSL + "no-cache" should work for Firefox as well, hmm... On 11/15/05, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote: > Hi There, > > I have a problem logging out my Struts Based Web Application.Here iam giving > the code in Logout Action.. > > request.getSession().removeAttribute("ssn"); > request.getSession().removeAttribute("pin"); > request.getSession().removeAttribute("parentrole"); > request.getSession().invalidate(); > response.sendRedirect("/login.jsp"); > > Once it invalidates the Session iam redirecting the user to login page where > he/she needs to sign in again.But problem is when user clicks back button in > the browser its taking me to secured pages which i dont want.Iam using the > following code in my secured pages but no use. > > <% > > response.setHeader("pragma", "no-cache"); > > response.setHeader("Cache-Control", "no-cache"); > > response.setDateHeader("Expires", -1); > > %> > > Iam not understanding where exactly iam doing the mistake.Some one please > help me to sort it out. > Thanks In Advance > > Srinivas > 732-648-9421(Cell) > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]