RE: [PHP] Passwords?
| From: | Chadwick, Russell | Date: | Tue, 22 May 2001 22:31:07 +0000 |
| Subject: | RE: [PHP] Passwords? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53950@lists.php.net to get a copy of this message | ||
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:jason@thinkingman.org]
Sent: Tuesday, May 22, 2001 3:28 PM
To: php-general@lists.php.net
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: 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