If the text entered by user in Text box does not match with the text shown in Image (Text in Image is Some Session data).
Then how to to redirect him after checking it on server end and then populating all fields with their previous values.
Redirecting user to if Captcha image text doesnt match
Moderator: General Moderators
Re: Redirecting user to if Captcha image text doesnt match
You could set the values from the form fields as session data. Then after you redirected (?) put it in again.
Re: Redirecting user to if Captcha image text doesnt match
If you're posting the data to the same page that displays the form, you wouldn't need to redirect. You could simply redisplay the form with the appropriate error messages. Normally what I do is redirect only if validation is successful.