Jump to content

Archived

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

alarik149

not refreshing

Recommended Posts

is there any way of stoping someone refreshing a page.I mean the only way for that page to load again is to enter the link again.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Java Script can prevent a META refresh but not disable the BHO in the browser. Even then, if the client has JS turned off, all is lost.

PHP can help here with careful $_SESSION // $_COOKIE planing

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
i think there is no way other than this . you have to reload or press refresh button to refresh the page.

==========
shanker

[url=http://www.sexxat.com/livechat.html]Visit Sexxat.com - Instant Social Sex Networking and Amateur Video Chat Rooms[/url]

Share this post


Link to post
Share on other sites

×

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.