Re: Controlling Browser Back Button
- do any one have any suggestion regarding this??
> 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,