This link
<a href="javascript:history.go(-1)">Back</a>
will work on javascript enabled machines... 
the truly failsafe way is to stuff their data in a session or in the
database and pass an id back to the original script.
You can also make your form to fill out a seperate file, which your first
script includes, and if there is a data error just include it in the second
script and make sure all the your form fields have something like <input
type="text" name="password" value="$password">

---
Toolshed Computer Productions - Professional PHP Hosting
     Hosting - Dedicated Servers - Design - Programming
     http://www.toolshed51.com

-----Original Message-----
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 3:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Passwords?


I have some field error checking going on ... and when a user (say) doesn't
fill in a field correctly, my error page comes up telling them.  They then
must click on their browsers <back> button and make the changes.

Now -- I have a password field, and when they click back, they are forced to
re-enter their password -- this is annoying.

My questions are:

1. Is there a way to make this stop happening?
2. Instead of the user clicking on their browsers <back> button, can I add a
URL that provides the same functionality -- that will work in IE and
Netscape?

Thanks
Jason




-- 
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