RE: [PHP] capturing reloads

From: Date: Wed, 30 Jul 2003 13:26:02 +0000
Subject: RE: [PHP] capturing reloads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157518@lists.php.net to get a copy of this message
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:diana@interhotel.com] Sent: Wednesday, July 30, 2003 8:12 AM To: php-general@lists.php.net 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

« previous php.general (#157518) next »