I have a weird issue .I am using simple captcha in forms in my rails applications. If I am using one captcha in a web page I don''t have any problem. But I have a scenario of using three(3) forms in one page in which all the three forms will have the captcha . So that when I refresh the page the captcha data of the three forms are equal. When we come to database , once the page get loaded the captcha value for one particular id will be created, Without using the captcha if we refresh the page the record is getting updated instead of creating another record, And more over if I open the web page in two tabs and if I submit the form in the first page. It throws an exception which says “ Invalid Captcha” Can anyone please let me know how to handle multiple captcha in single page. Thanks in-advance -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
are you using racaptcha? On Fri, Sep 10, 2010 at 6:43 AM, sam <swaminadhankris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have a weird issue .I am using simple captcha in forms in my rails > applications. If I am using one captcha in a web page I don''t have any > problem. But I have a scenario of using three(3) forms in one page in > which all the three forms will have the captcha . So that when I > refresh the page the captcha data of the three forms are equal. > > > When we come to database , once the page get > loaded the captcha value for one particular id will be created, > Without using the captcha if we refresh the page the record is getting > updated instead of creating another record, And more over if I open > the web page in two tabs and if I submit the form in the first page. > It throws an exception which says “ Invalid Captcha” > > > Can anyone please let me know how to handle multiple > captcha in single page. > > > Thanks in-advance > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
*recaptcha On Fri, Sep 10, 2010 at 8:02 AM, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> are you using racaptcha? > > > On Fri, Sep 10, 2010 at 6:43 AM, sam <swaminadhankris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> I have a weird issue .I am using simple captcha in forms in my rails >> applications. If I am using one captcha in a web page I don''t have any >> problem. But I have a scenario of using three(3) forms in one page in >> which all the three forms will have the captcha . So that when I >> refresh the page the captcha data of the three forms are equal. >> >> >> When we come to database , once the page get >> loaded the captcha value for one particular id will be created, >> Without using the captcha if we refresh the page the record is getting >> updated instead of creating another record, And more over if I open >> the web page in two tabs and if I submit the form in the first page. >> It throws an exception which says “ Invalid Captcha” >> >> >> Can anyone please let me know how to handle multiple >> captcha in single page. >> >> >> Thanks in-advance >> >> -- >> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.