In your response, you should set up HTTP headers such that the page will expire. Then, the browser will not try to fetch the cached page and show up a dialog saying the page has expired, etc.
Bill On Feb 12, 2008 11:11 AM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Thanksfor the reply. What I am looking for is: I want to vorbiden the back > button activity, i.e., if the user click the back button, it will show error > message and the user has to refresh the page and go back to the page where he > starts. > > This must be possible since I find many web-apps do so. > > > > ---- Thomas Chang <[EMAIL PROTECTED] <http://de.f278.mail.yahoo.com/ym/[EMAIL > PROTECTED]&YY=6871&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0>> > schrieb: > In my web-app, after I logout I can even access the page by > clciking the back-button in the browser tool bar. Now I want to caoture > this action so I can check if the session is valid or not redirect it. > This might be happening *just* within your browser, without any requests > going to the server. If that is the case, then there is nothing you can do > on the > *server* to catch this. If the browser is actually fetching the previous > page from the server, then you have something incorrectly configured in > your servlet container security settings, as that should not be possible. > Regards, Simon > > ------------------------------ > Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie“s > mit dem neuen Yahoo! > Mail<http://de.rd.yahoo.com/evt=40593/*http://de.docs.yahoo.com/ymail/landing.html>. > >