Is there a way to run a PHP FUNCTION \"fun();\" only once when a logged in user accesses a page multiple times?
here is the function.
if(!isset($_SESSION['visitedOnce'])){ fun(); $_SESSION['visitedOnce'] = true; }