Is it possible to grab hidden code in ClientForm?

Gabriel Genellina gagsl-py2 at
Sun Mar 1 17:08:26 CET 2009

En Sun, 01 Mar 2009 12:23:20 -0200, Muddy Coder <cosmo_general at>  

> Nowadays some websites let users to fill in some so-called
> verification code, and the tricky thing is that the CODE is delivered
> from server with an image. For example:
> <img src="/jobsearch/captcha.jpg" name="CAPTCHA_IMAGE" border="1" /
>> &nbsp;&nbsp;<a href="#" onClick="changeSource();">Refresh Image</a>
> When click Refresh Image, the CODE on the image changes. I wonder:
> does the server really send a new image over to browser, or just send
> a hidden code over? Is it possible to parse out such hidden code?

The server may asociate the expected value (CODE) to some session ID.  
Delivering a new image means a new value associated. No other changes are  
needed in the client side.

Gabriel Genellina

More information about the Python-list mailing list