Usually as a server side developer, we will solve this browser back / forward issue by writing server side script conditions. But we can fix it by client side itself.
There are a couple of things to keep in mind when using the above method to force a browser to not cache a Web page:
* Pragma: no-cache prevents caching only when used over a secure connection. A Pragma: no-cache META tag is treated identically to Expires: -1 if used in a non-secure page. The page will be cached but marked as immediately expired.
* Cache-Control META HTTP-EQUIV tags are ignored and have no effect in Internet Explorer versions 4 or 5. ( No worries, hope all you know even IE6 itself dead i.e officially announced by MicroSoft )
Its pretty cool right!