Jump to content


Photo

not refreshing


  • Please log in to reply
5 replies to this topic

#1 alarik149

alarik149
  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts

Posted 13 March 2006 - 11:25 PM

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.
Tired of math homework ? Just visit http://www.solvemymath.com for a free online math solver and calculator.
Videochat bucuresti studio -> http://www.GirlAddicts.com
About the adult video chat business -> www.girlplan.com

#2 Steveo31

Steveo31
  • Members
  • PipPip
  • Member
  • 25 posts
  • LocationSan Jose, CA

Posted 14 March 2006 - 01:35 AM

Hmm... maybe something like this:


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.";
}
As far as I know there's no Javascript that allows this. I could be wrong though.

#3 phporcaffeine

phporcaffeine
  • Members
  • PipPipPip
  • Advanced Member
  • 361 posts
  • LocationOhio, USA

Posted 14 March 2006 - 02:09 AM

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
Thanks,

Ryan Huff
President & Founder, MyCodeTree
support@mycodetree.com | http://mycodetree.com

#4 alarik149

alarik149
  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts

Posted 14 March 2006 - 02:06 PM

[!--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.
Tired of math homework ? Just visit http://www.solvemymath.com for a free online math solver and calculator.
Videochat bucuresti studio -> http://www.GirlAddicts.com
About the adult video chat business -> www.girlplan.com

#5 alarik149

alarik149
  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts

Posted 14 March 2006 - 02:34 PM

thanks a lot people:) it works.u are the greatest :)
Tired of math homework ? Just visit http://www.solvemymath.com for a free online math solver and calculator.
Videochat bucuresti studio -> http://www.GirlAddicts.com
About the adult video chat business -> www.girlplan.com

#6 shanker

shanker
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 November 2008 - 06:54 PM

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

==========
shanker

Visit Sexxat.com - Instant Social Sex Networking and Amateur Video Chat Rooms




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users