Hi
I am working on a web application using PHP and Oracle.
I would like to know is there any way we can detect if the back browser button is clicked or the refresh browser button is clicked ???
Any help on this is appreciated.
Thanks in advance
detecting refresh browser activity in PHP
Moderator: General Moderators
Code: Select all
<?php
if(!isset($_SESSION['bla']))
{
$_SESSION['bla'] = 1;
}
else
{
$_SESSION['bla']++;
}
?>Code: Select all
<?php
if($_SESSION['bla'] != 1))
{
//your code here
}
?>