Ajax and captcha Permission Denied


#1

I keep getting a permission Denied and I’m not sure why. Any able to
help with this?


#2

Mark Babcock wrote:

I keep getting a permission Denied and I’m not sure why. Any able to
help with this?

I just copied your code, created a new Rails project and set this code
to be the index.html.erb file.

It “worked” fine for me, in so far as the captcha image loads, the
button to reload the image is there and functions, and the text field
accepts user input.

So while I don’t see how your code was going to return a valid/not-valid
response code (like I say I just pasted it in and haven’t scrutinized
it! :-), I don’t get a Permission Denied problem.

Can you be more specific on when/where/how the error comes up?


#3

Jim T. wrote:

Mark Babcock wrote:

I keep getting a permission Denied and I’m not sure why. Any able to
help with this?

I just copied your code, created a new Rails project and set this code
to be the index.html.erb file.

It “worked” fine for me, in so far as the captcha image loads, the
button to reload the image is there and functions, and the text field
accepts user input.

So while I don’t see how your code was going to return a valid/not-valid
response code (like I say I just pasted it in and haven’t scrutinized
it! :-), I don’t get a Permission Denied problem.

Can you be more specific on when/where/how the error comes up?

I implemented the captchator service with jQuery and PHP, making it
capable to handle AJAX. You can use the source code.

You can check it at http://luispulido.com/cc/captchator-jquery/

Hope you find it useful.

-Luis