In some browsers, the following tag will result in a second request to the
server:

<img src="" />   I would look for situations where a blank image/js file/css
file, etc... would be loaded.

On Sun, Jul 5, 2009 at 10:19 PM, Hassan Schroeder <
[email protected]> wrote:

>
> On Sun, Jul 5, 2009 at 12:33 PM, Richard
> Schneeman<[email protected]> wrote:
> >
> > I've been troubleshooting a problem with my captcha and finally figured
> > out that any time I make one request to my localhost server, it receives
> > and processes two requests
>
> Without seeing all of the code, it's only a WAG, but I'd bet your first
> request is from loading the page, and the second is being triggered
> by a JS onload (or domready, or somesuch) event somewhere.
>
> Maybe you could make available a small test app that demonstrates
> the problem?
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to