Jump to content

not refreshing


alarik149

Recommended Posts

Hmm... maybe something like this:

[code]

session_start();
if(empty($_SESSION['this_page_unique'])){
    $_SESSION['this_page_unique'] = rand(0, 10000000);
    //show the rest of the page here
}else{
   echo "Go back.  You cannot refresh the page.";
}
[/code]
As far as I know there's no Javascript that allows this. I could be wrong though.
Link to comment
https://forums.phpfreaks.com/topic/4877-not-refreshing/#findComment-17215
Share on other sites

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Java Script can prevent a META refresh but not disable the BHO in the browser. [/quote]
what does BHO mean?
I`m testing the no-refresh script.i`ll let you know if I don`t run into more trouble.
Thanks a lot.
Link to comment
https://forums.phpfreaks.com/topic/4877-not-refreshing/#findComment-17355
Share on other sites

  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.