hi,
I am trying to prevent the user from using the browser's back button so that I can above page expired msg.
Now to do that I have the following code
<script language='javascript'>
function gooBack()
{
var lastURL;
lastURL="<?echo $_SERVER['HTTP_REFERER']?>
document.location.replace(lastURL);
}
</script>
I use frames in my page. The above code works fine but for one condition. Now if I have a php page calling itself and from there if I call the homepage the entire homepage is listed in the current frame.
meaning I have the topframe also listed in my second frame.
is there any way to fix this?