For security purposes I would like to know how to disable the back button in the browser and/or expire the page similar to an online banking institution does. e.g. when you hit the back button in the browser it gives the warning that page has expired.
[ April 29, 2005: Message edited by: Bear Bibeault ]
Do some googling on "no-cache", "expires" and "pragma".
These keywords should turn up all kinds of articles on preventing browsers from caching your content. It usually involves several approaches as different browsers and different versions of those browsers handle caching differently.
I will tell u one thing . u cant make button always give u that message . First thing is diable the cache as mentioned by all the above so that page wont be cached . If the request type is POST , then on clicking BACK u will get that message(Thats a warning by browser saying that data will be submitted again) , and if the request type is GET , on clicking back the request will be resubmitted directly thast all