Hello,

This is in ASP.NET C#:

try
{
        // try log in google apps
}
catch (CaptchaRequiredException ex)
            {
                lgUser.FindControl("panelCaptcha").Visible = true;
                ((Image)lgUser.FindControl("captchaImg")).ImageUrl = ex.Url;
                ((HiddenField)lgUser.FindControl("hfToken")).Value =
ex.Token;

                e.Authenticated = false;
            }

Hope it helps.


Pedro

-----Mensagem original-----
De: [email protected]
[mailto:[EMAIL PROTECTED] Em nome de Bam
Enviada em: quarta-feira, 28 de maio de 2008 03:19
Para: Google Apps APIs
Assunto: [google-apps-apis] Captcha handle


How to get captcha error??

Can you give me sample code to handle captcha error or captcha
required??

thanks



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" 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/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to