Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

RE: [PHP] No-refresh From: Greg Donald (greg <email protected>)
Date: 03/30/01

> Does anyone know of a way to stop the user from refreshing a page several
> times.
>
> i.e if I add a value to a database using a form and PHP, I don't want the
> user to be able to simply press refresh and add the value to the database
> again.
>
> Please help,
> Dvaid.

Many methods exist, cookies and sessions come to mind first...

Greg

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>