This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes How to use Captcha image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

How to use Captcha image

Vijendra Babar

Joined: Jul 28, 2006
Posts: 18
Hello friends,
Has any one used Captcha image. These images are generally used for authentication.

I am using SimpleCaptcha which by default gives me image containing 5 characters. I have taken one session variable which is used to store these characters. But the session variable contain 6 character.

So while authenticating it always give me invalid match.

If any one has idea about it, please let me know.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41599
Vijendra, please do not post the same question to multiple forums. It is confusing and wasteful of peoples time if multiple redundant conversations take place.

Since the question has little to do with JSPs, let's continue the discussion in the other thread.

Ping & DNS - my free Android networking tools app
Consider Paul's rocket mass heater.
subject: How to use Captcha image