Re: [PHP] capturing reloads

2003-07-30 Thread Pete James
My personal favourite is to logically separate actions and views, which is very easy to do and is virtually foolproof. This way a user submits a form to a page that outputs nothing. This page does its work, then redirects to another page which only shows data. This is invisible to the user, a

Re: [PHP] capturing reloads

2003-07-30 Thread Curt Zirzow
* Thus wrote Diana Castillo ([EMAIL PROTECTED]): > anyone know how to catch if someone has reloaded a page? The way I prevent reloads is with a combination of session variables and an extra form field, here is how I go about it: form_page.php: process_page.php: http://www.php.net/) To unsubsc

Re: [PHP] capturing reloads

2003-07-30 Thread Chris Boget
> 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. > //[

RE: [PHP] capturing reloads

2003-07-30 Thread Donald Tyler
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. //---