You can use javascript and set the history length to 0

<script language="javascript">
<!--
history.length=0;
// -->
</script>

----- Original Message -----
From: Sheni R. Meledath <[EMAIL PROTECTED]>
To: PHP Masters <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to