Re: Expire data from form

From: Date: Sun, 18 Mar 2001 17:19:46 +0000
Subject: Re: Expire data from form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44434@lists.php.net to get a copy of this message
You can use javascript and set the history length to 0 <script language="javascript"> <!-- history.length=0; // --> </script> ----- Original Message ----- From: Sheni R. Meledath <sheni@cyber-gear.com> To: PHP Masters <php-general@lists.php.net> Sent: Saturday, March 17, 2001 11:47 PM Subject: [PHP] Expire data from form > Hi, > > I have set up a form to register the users to the site. The users are > allowed to register only once. When the user submits the form the same > script will check the validity of the form and displays error messages and > if okay, updates the database. > I want to set up an option in the form in which when the user once submits > and after that if they click on the back button (browser back) it should > say the 'page expired' as I have seen with some Perl scripts. The users > should not be allowed to go back to the page and resubmit. Can any body > suggest a way to accomplish this. > > thanks > Sheni R Meledath > sheni@cyber-gear.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#44434) next »