I am having an issue.
I tried to remove the data cached in a page using the below header() functions.
Code:
Expand|Select|Wrap|Line Numbers
- header("Cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
- Header("Pragma", "No-cache");
- if ($_SESSION["base"] != "1") /* where the value for base assigned in previous page.*/
- {
- // When user attempts to go back after the session was destroyed
- Header("Location:error.html");
- }
This works perfectly in browsers like IE6+, Safari and Mozilla firefox. But, this doesn't work with Opera. I would be very happy, if some one resolves this issue for me.
Thanks a million in advance.
VJ.