Kaptcha is not working when cookies are blocked in the IE

41 views
Skip to first unread message

vish...@googlemail.com

unread,
Mar 4, 2009, 1:27:01 AM3/4/09
to kaptcha
Hi all ,
Am using the Kaptcha in java application which runs on Tomcat6.It
running fine when cookies are enabled but when cookies are
disabled ..application uses the jsessionid for url rewriting in that
cases com.google.code.kaptcha.Constants.KAPTCHA_SESSION_KEY values is
storing it as null in session ,so am unable to compare the value which
is entered by user.how to avoid this ...?


thanks in advance..
Vishnu.

jon stevens

unread,
Mar 4, 2009, 11:27:15 AM3/4/09
to kap...@googlegroups.com
When you make a request to the image, you need to pass the jsessionid.
That probably isn't happening.

ie: http://foo.com/kaptcha.jpg;jsessionid=

jon

vish...@googlemail.com

unread,
Mar 4, 2009, 11:23:08 PM3/4/09
to kaptcha
thank you so much ..

sorry i did not understand how to include it ..now i am calling in
image source as Kaotch.jpg how can i include dnyamically genrated
jsessionid value in it..

On Mar 4, 9:27 pm, jon stevens <latch...@gmail.com> wrote:
> When you make a request to the image, you need to pass the jsessionid.
> That probably isn't happening.
>
> ie:http://foo.com/kaptcha.jpg;jsessionid=
>
> jon
>
> On Tue, Mar 3, 2009 at 10:27 PM, vishnu...@googlemail.com
Reply all
Reply to author
Forward
0 new messages