Security image – No Refresh on submit

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
JohnnyK
Forum Newbie
Posts: 7
Joined: Tue Jul 03, 2007 1:44 pm

Security image – No Refresh on submit

Post by JohnnyK »

I am setting up a security image. I have a form currently set up so values stay in the field if there is an error during the submit process so users don’t have to refill the form if there was a mistake or if a required field was not filled out. I would like the security image to stay the same after a user submits the form so they don’t have to re-enter the code every time they make a change or if there is a mistake. I currently have it set up that the user can change the image to one they can read but I want the image to stay after they hit the submit especially if they had it correct the first time.

Thanks,
John
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Security image as in a captcha? It'd be smarter to allow it to refresh and change. The point of it is to prove that the user is human. If you give them an infinite amount of chances at the same captcha, you'd be decreasing it's effectiveness.
Post Reply