The only way I know is to use sessions.

Each time they load the page, you would check a session variable that you
use store the status of a specific page. E.g.

if($_SESSION['ReloadStatus']['ContactUs'] == true)
        {
        //Page has already been loaded once. This is a reload.
        //--------[ Your code here ] ----------\\
        }
else
        {
        //Page hasn't already been loaded. This is the first visit.
        //--------[ Your code here ] ----------\\
        
        //Register this page as loaded:
        $_SESSION['ReloadStatus']['ContactUs'] == true
        }

-----Original Message-----
From: Diana Castillo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 8:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] capturing reloads

anyone know how to catch if someone has reloaded a page?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to