Loading ...
Sorry, an error occurred while loading the content.

Re: Controlling Browser Back Button

Expand Messages
  • umeshawasthi_80
    do any one have any suggestion regarding this??
    Message 1 of 2 , Jan 29, 2009
    • 0 Attachment
      do any one have any suggestion regarding this??

      --- In ydn-javascript@yahoogroups.com, "umeshawasthi_80"
      <umeshawasthi_80@...> wrote:
      >
      > Hi All,
      >
      > I am using Strus2+YUI to develop my web application, eveything was
      > going fine untill i messed up with browser back button.
      >
      > my problem is when user logged out from the application i am removing
      > the user object from the session and also putting response headers
      > something like :
      >
      > response.setHeader("Pragma", "no-cache");
      > response.setHeader("Cache-Control", "no-cache");
      > response.setHeader("Expires", "-1");
      >
      > also i am using meta tages in all my jsp pages to aviod page caching,
      > but after getting logged off if user hit the browser back button he is
      > getting back to the earlier page the one which require user to provide
      > valid credential,
      >
      > i kw taht the pages are getting served from the browser cache and not
      > from the server so i can't do any thing from the server side,
      >
      > even when user will try to do anything he will be redirected to login
      > page but i don't want user to see this page once he logged off from
      > the application
      >
      > is theer any API or something like that in YUI by which i can control
      > this back button functionality for this particual case.
      >
      > thanks in advance,
      > umesh
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.